com.atlassian.jira.issue.index.indexers.impl
Class IssuePropertySearchExtractor
java.lang.Object
com.atlassian.jira.issue.index.indexers.impl.IssuePropertySearchExtractor
- All Implemented Interfaces:
- EntitySearchExtractor<Issue>, IssueSearchExtractor
public class IssuePropertySearchExtractor
- extends Object
- implements IssueSearchExtractor
Search extractor that constructs lucene document fields based on entities assigned to particular issue and their
configuration as defined by IndexDocumentConfiguration
- Since:
- v6.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssuePropertySearchExtractor
public IssuePropertySearchExtractor(JsonEntityPropertyManager jsonEntityPropertyManager,
PluginIndexConfigurationManager entityPropertyIndexDocumentManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
SearchExtractorRegistrationManager searchExtractorRegistrationManager,
DoubleConverter doubleConverter)
indexEntity
public Set<String> indexEntity(EntitySearchExtractor.Context<Issue> ctx,
org.apache.lucene.document.Document doc)
- Description copied from interface:
EntitySearchExtractor
- Extracts fields from document provided by
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 method
- Specified by:
indexEntity
in interface EntitySearchExtractor<Issue>
- Parameters:
ctx
- context for this operationdoc
- lucene document to which values should be added
- Returns:
- ids of the document fields that were added by call of this method
Copyright © 2002-2014 Atlassian. All Rights Reserved.