public class IssuePropertySearchExtractor extends Object implements IssueSearchExtractor
IndexDocumentConfiguration
EntitySearchExtractor.Context<T>
Constructor and Description |
---|
IssuePropertySearchExtractor(JsonEntityPropertyManager jsonEntityPropertyManager,
PluginIndexConfigurationManager entityPropertyIndexDocumentManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
SearchExtractorRegistrationManager searchExtractorRegistrationManager,
DoubleConverter doubleConverter) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
indexEntity(EntitySearchExtractor.Context<Issue> ctx,
org.apache.lucene.document.Document doc)
Extracts fields from document provided by
EntitySearchExtractor.Context and adds them to document. |
public IssuePropertySearchExtractor(JsonEntityPropertyManager jsonEntityPropertyManager, PluginIndexConfigurationManager entityPropertyIndexDocumentManager, DateTimeFormatterFactory dateTimeFormatterFactory, SearchExtractorRegistrationManager searchExtractorRegistrationManager, DoubleConverter doubleConverter)
public Set<String> indexEntity(EntitySearchExtractor.Context<Issue> ctx, org.apache.lucene.document.Document doc)
EntitySearchExtractor
EntitySearchExtractor.Context
and adds them to document.
All the filed names that were added to documents as indexed to document must be returned as output of this methodindexEntity
in interface EntitySearchExtractor<Issue>
ctx
- context for this operationdoc
- lucene document to which values should be addedCopyright © 2002-2015 Atlassian. All Rights Reserved.