Package org.hibernate.search.store
package org.hibernate.search.store
-
ClassDescriptionDirectoryProvider<TDirectory extends Directory>Set up and provide a Lucene
Directoryequals()andhashCode()must guaranty equality between two providers pointing to the same underlying Lucene Store.Create a Lucene directory provider which can be configured through the following properties: hibernate.search.default.* hibernate.search.<indexname>.*, where <indexname> properties have precedence over default ones.Use a LuceneFSDirectory.File based DirectoryProvider that takes care of index copy The base directory is represented by hibernate.search..indexBase The index is created in / The source (aka copy) directory is built from / A copy is triggered every refresh seconds File based directory provider that takes care of getting a version of the index from a given source.This implementation use idInString as the hashKey.Defines how a given virtual index shards data into different DirectoryProvidersTo use a custom implementation of org.apache.lucene.store.LockFactory you need to implement this interface and define the fully qualified classname of the factory implementation as a DirectoryProvider parameter for the locking_strategy key.Use a Lucene RAMDirectory