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 |
---|---|
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 |
ErrorContext.getIndexManager() |
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) |
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 |
---|---|
void |
OptimizerStrategy.initialize(IndexManager indexManager,
Properties indexProperties)
Initializes the
OptimizerStrategy . |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.