public interface IndexManagerSelector
Modifier and Type | Method and Description |
---|---|
Set<IndexManager> |
all()
Ask for all shards (eg to optimize)
|
Set<IndexManager> |
forExisting(IndexedTypeIdentifier typeId,
Serializable id,
String idInString) |
Set<IndexManager> |
forFilters(FullTextFilterImplementor[] fullTextFilters) |
IndexManager |
forNew(IndexedTypeIdentifier typeId,
Serializable id,
String idInString,
org.apache.lucene.document.Document document) |
Set<IndexManager> all()
IndexManager
for all shardsIndexManager forNew(IndexedTypeIdentifier typeId, Serializable id, String idInString, org.apache.lucene.document.Document document)
typeId
- the type of the entityid
- the id in object formidInString
- the id as transformed by the used TwoWayStringBridgedocument
- the document to indexSet<IndexManager> forExisting(IndexedTypeIdentifier typeId, Serializable id, String idInString)
typeId
- the type of the existing entityid
- the id in object formidInString
- the id as transformed by the used TwoWayStringBridgeIndexManager
(s) where the given entity is stored.
If they are null, all the IndexManager
(s) where an entity of the given type is stored.Set<IndexManager> forFilters(FullTextFilterImplementor[] fullTextFilters)
fullTextFilters
- the filters applied to the query; must be empty if no filter is appliedIndexManager
(s) where the entities matching the filters are storedCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.