Package com.atlassian.jira.index
Interface SearchExtractorRegistrationManager
- All Known Implementing Classes:
DefaultSearchExtractorRegistrationManager
Deprecated, for removal: This API element is subject to removal in a future version.
Manages search extractors
- Since:
- 6.2
-
Method Summary
Modifier and TypeMethodDescription<T> Collection
<EntitySearchExtractor<T>> findExtractorsForEntity
(Class<T> entityClass) Deprecated, for removal: This API element is subject to removal in a future version.Return all extractors that can be applied for specified class no subclasses are taken into account<T> void
register
(EntitySearchExtractor<? super T> extractor, Class<T> entityClass) Deprecated, for removal: This API element is subject to removal in a future version.Registers extractor as capable of processing documents of specified class<T> void
unregister
(EntitySearchExtractor<? super T> extractor, Class<T> entityClass) Deprecated, for removal: This API element is subject to removal in a future version.Remove this extractor (identified by equals method) from processing all registered classes.
-
Method Details
-
findExtractorsForEntity
Deprecated, for removal: This API element is subject to removal in a future version.Return all extractors that can be applied for specified class no subclasses are taken into account- Parameters:
entityClass
- class object to search for extractors- Returns:
- list of extractors
-
register
Deprecated, for removal: This API element is subject to removal in a future version.Registers extractor as capable of processing documents of specified class- Parameters:
extractor
- the extractor that will be registered for processing entities ofentityClass
entityClass
- class that is process by this extractor
-
unregister
Deprecated, for removal: This API element is subject to removal in a future version.Remove this extractor (identified by equals method) from processing all registered classes.- Parameters:
extractor
- instance of extractor to be unregisteredentityClass
- class that this extractor should be unregistered from.
-
IndexExtractorRegistrationManager
. Still used by the Lucene indexing infrastructure, will be removed once we stop supporting Lucene.