このコンテンツは選択した言語では利用できません。
3.3.2. The Infinispan Directory
In addition to the Lucene directory implementations, Red Hat JBoss Data Grid also ships with an
infinispan-directory module.
Note
Red Hat JBoss Data Grid only supports
infinispan-directory in the context of the Querying feature, not as a standalone feature.
The
infinispan-directory allows Lucene to store indexes within the distributed data grid. This allows the indexes to be distributed, stored in-memory, and optionally written to disk using the cache store for durability.
This can be configured by having the named cache store indexes in JBoss Data Grid. For example:
Sharing the same index instance using the Infinispan Directory Provider, introduces a write contention point, as only one instance can write on the same index at the same time. The property
exclusive_index_use must be set to "false" and in most cases an alternative back end must be setup.
The default back end can be used if there is very low contention on writes or if the application can guarantee all writes on the index are originated on the same node.