| Modifier and Type | Method and Description |
|---|---|
static BackendQueueProcessor |
BackendFactory.createBackend(IndexManager indexManager,
WorkerBuildContext buildContext,
Properties properties) |
static BackendQueueProcessor |
BackendFactory.createBackend(String backendName,
IndexManager indexManager,
WorkerBuildContext buildContext,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkQueuePerIndexSplitter.addToQueue(IndexManager indexManager,
LuceneWork work) |
BackendQueueProcessor |
LocalBackend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context) |
BackendQueueProcessor |
ReflectionBasedBackend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context) |
void |
LocalBackendQueueProcessor.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager)
Deprecated.
Provided so that passing the LocalBackendQueueProcessor class
as the value of the "backend" configuration option still works, but normally
the "local" string should be used instead, in which case this method is not used.
|
void |
WorkQueuePerIndexSplitter.performStreamOperation(IndexManager indexManager,
LuceneWork work) |
| Constructor and Description |
|---|
LocalBackendQueueProcessor(IndexManager indexManager) |
| Constructor and Description |
|---|
TransactionalOperationDispatcher(SearchIntegrator integrator,
Predicate<IndexManager> indexManagerFilter) |
WorkQueuePerIndexSplitter(IndexManagerHolder indexManagerHolder,
Predicate<IndexManager> indexManagerFilter) |
| Modifier and Type | Method and Description |
|---|---|
BackendQueueProcessor |
BlackHoleBackend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context) |
void |
BlackHoleBackendQueueProcessor.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager) |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
LuceneBackendResources.getIndexManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkspaceHolder.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager) |
| Modifier and Type | Method and Description |
|---|---|
BackendQueueProcessor |
Backend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context)
Called exactly once for each index manager using this backend.
|
default void |
BackendQueueProcessor.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager)
Deprecated.
Use a
Backend implementation and implement your initialization logic
in Backend.createQueueProcessor(IndexManager, WorkerBuildContext) instead. |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
IndexManagerFactory.createDefaultIndexManager() |
IndexManager |
IndexManagerFactory.createIndexManagerByName(String indexManagerImplementationName) |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
DefaultIndexManagerFactory.createDefaultIndexManager() |
IndexManager |
DefaultIndexManagerFactory.createIndexManagerByName(String indexManagerImplementationName) |
protected IndexManager |
DefaultIndexManagerFactory.fromAlias(String alias)
Extension point: allow to override aliases or add new ones to
directly create class instances.
|
IndexManager |
MutableSearchFactory.getIndexManager(String indexName) |
IndexManager |
ImmutableSearchFactory.getIndexManager(String indexName) |
| Modifier and Type | Method and Description |
|---|---|
OperationDispatcher |
MutableSearchFactory.createRemoteOperationDispatcher(Predicate<IndexManager> indexManagerFilter) |
OperationDispatcher |
ImmutableSearchFactory.createRemoteOperationDispatcher(Predicate<IndexManager> predicate) |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
ErrorContext.getIndexManager() |
| Modifier and Type | Method and Description |
|---|---|
ErrorContextBuilder |
ErrorContextBuilder.indexManager(IndexManager indexName) |
| Modifier and Type | Class and Description |
|---|---|
class |
NRTIndexManager
IndexManager implementation taking advantage of the Near-Real-Time
features of Lucene.
|
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
IndexShardingStrategyIndexManagerSelector.forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
IndexManager |
NotShardedIndexManagerSelector.forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
IndexManager |
IndexManagerHolder.getIndexManager(String targetIndexName) |
| Modifier and Type | Method and Description |
|---|---|
Set<IndexManager> |
IndexShardingStrategyIndexManagerSelector.all() |
Set<IndexManager> |
NotShardedIndexManagerSelector.all() |
Set<IndexManager> |
IndexShardingStrategyIndexManagerSelector.forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
Set<IndexManager> |
NotShardedIndexManagerSelector.forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
Set<IndexManager> |
IndexShardingStrategyIndexManagerSelector.forFilters(FullTextFilterImplementor[] fullTextFilters) |
Set<IndexManager> |
NotShardedIndexManagerSelector.forFilters(FullTextFilterImplementor[] fullTextFilters) |
Collection<IndexManager> |
IndexManagerHolder.getIndexManagers() |
| Modifier and Type | Method and Description |
|---|---|
IndexManagerGroupHolder |
IndexManagerHolder.getGroupHolderByIndexManager(IndexManager indexManager) |
static OptimizerStrategy |
PropertiesParseHelper.getOptimizerStrategy(IndexManager callback,
Properties indexProperties,
WorkerBuildContext buildContext) |
| Constructor and Description |
|---|
IndexShardingStrategyIndexManagerSelector(IndexShardingStrategy shardingStrategy,
IndexManager[] allIndexManagers) |
NotShardedIndexManagerSelector(IndexManager indexManager) |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectoryBasedIndexManager
This implementation of
IndexManager is coupled to a
DirectoryProvider and a DirectoryBasedReaderProvider. |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
IndexManagerSelector.forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
| Modifier and Type | Method and Description |
|---|---|
Set<IndexManager> |
IndexManagerSelector.all()
Ask for all shards (eg to optimize)
|
Set<IndexManager> |
IndexManagerSelector.forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
Set<IndexManager> |
IndexManagerSelector.forFilters(FullTextFilterImplementor[] fullTextFilters) |
| Constructor and Description |
|---|
IndexDescriptorImpl(IndexManager indexManager) |
| Constructor and Description |
|---|
IndexedTypeDescriptorImpl(TypeMetadata typeMetadata,
Set<IndexManager> indexManagers) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<IndexManager> |
LuceneHSQuery.getIndexManagers(EntityIndexBinding binding) |
protected Set<IndexManager> |
AbstractHSQuery.getIndexManagers(EntityIndexBinding binding) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.index.IndexReader |
MultiReaderFactory.openReader(IndexManager... indexManagers) |
static org.apache.lucene.index.IndexReader |
MultiReaderFactory.openReader(SortConfigurations configuredSorts,
org.apache.lucene.search.Sort sort,
IndexManager[] indexManagers,
boolean indexUninvertingAllowed) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.lucene.index.IndexReader |
MultiReaderFactory.openReader(Map<String,IndexManager> indexManagers) |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
SearchIntegrator.getIndexManager(String indexName)
Get an
IndexManager using the name |
| Modifier and Type | Method and Description |
|---|---|
OperationDispatcher |
SearchIntegrator.createRemoteOperationDispatcher(Predicate<IndexManager> indexManagerFilter) |
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
IndexShardingStrategy.getIndexManagerForAddition(Class<?> entity,
Serializable id,
String idInString,
org.apache.lucene.document.Document document)
Deprecated.
|
IndexManager[] |
IndexShardingStrategy.getIndexManagersForAllShards()
Deprecated.
Ask for all shards (eg to query or optimize)
|
IndexManager[] |
IndexShardingStrategy.getIndexManagersForDeletion(Class<?> entity,
Serializable id,
String idInString)
Deprecated.
return the IndexManager(s) where the given entity is stored and where the deletion operation needs to be applied
id and idInString could be null.
|
IndexManager[] |
IndexShardingStrategy.getIndexManagersForQuery(FullTextFilterImplementor[] fullTextFilters)
Deprecated.
return the set of IndexManager(s) where the entities matching the filters are stored
this optional optimization allows queries to hit a subset of all shards, which may be useful for some datasets
if this optimization is not needed, return getIndexManagersForAllShards()
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexShardingStrategy.initialize(Properties properties,
IndexManager[] indexManagers)
Deprecated.
provides access to sharding properties (under the suffix sharding_strategy)
and provide access to all the IndexManager for a given index
|
| Modifier and Type | Method and Description |
|---|---|
IndexManager |
IdHashShardingStrategy.getIndexManagerForAddition(Class<?> entity,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
IndexManager[] |
IdHashShardingStrategy.getIndexManagersForAllShards() |
IndexManager[] |
IdHashShardingStrategy.getIndexManagersForDeletion(Class<?> entity,
Serializable id,
String idInString) |
IndexManager[] |
IdHashShardingStrategy.getIndexManagersForQuery(FullTextFilterImplementor[] fullTextFilters) |
| Modifier and Type | Method and Description |
|---|---|
void |
IdHashShardingStrategy.initialize(Properties properties,
IndexManager[] indexManagers) |
| Modifier and Type | Method and Description |
|---|---|
void |
OptimizerStrategy.initialize(IndexManager indexManager,
Properties indexProperties)
Initializes the
OptimizerStrategy. |
| Modifier and Type | Method and Description |
|---|---|
void |
IncrementalOptimizerStrategy.initialize(IndexManager indexManager,
Properties indexProperties) |
void |
ExplicitOnlyOptimizerStrategy.initialize(IndexManager indexManager,
Properties indexProperties) |
Copyright © 2006–2017 Hibernate. All rights reserved.