Search

15.3. About Lucene Directory

download PDF
The Lucene Directory is the Input Output API for Apache Lucene to store the query indexes.
The most common Lucene Directory implementations used with JBoss Data Grid's Query Module are:
  • Ram - stores the index in a local map to the node. This index cannot be shared.
  • File system - stores the index in a locally mounted file system. This could be a network shared file system, however sharing in this manner is not recommended.
  • JBoss Data Grid - stores the indexes in a different set of dedicated JBoss Data Grid caches. These caches can be configured as replicated or distributed in order to share the index between nodes.
The Query Module is not aware of where indexes are stored.

Note

The Lucene Directory provided by JBoss Data Grid is not limited to the Query Module. It can seamlessly replace any other requirement to store Lucene indexes where your application uses Lucene directly.
The JBoss Data Grid Query Module ships with several Lucene Directory implementations, and accepts third party implementations.

Important

The Query Module is currently only available as a Technical Preview for JBoss Data Grid 6.1.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.