com.atlassian.jira.dev.reference.plugin.extractor
Class IssueSearchExtractorImpl
java.lang.Object
com.atlassian.jira.dev.reference.plugin.extractor.IssueSearchExtractorImpl
- All Implemented Interfaces:
- EntitySearchExtractor<Issue>, IssueSearchExtractor
public class IssueSearchExtractorImpl
- extends Object
- implements IssueSearchExtractor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueSearchExtractorImpl
public IssueSearchExtractorImpl()
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.