com.atlassian.jira.dev.reference.plugin.extractor
Class IssueSearchExtractorImpl

java.lang.Object
  extended by com.atlassian.jira.dev.reference.plugin.extractor.IssueSearchExtractorImpl
All Implemented Interfaces:
EntitySearchExtractor<Issue>, IssueSearchExtractor

public class IssueSearchExtractorImpl
extends Object
implements IssueSearchExtractor


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.index.EntitySearchExtractor
EntitySearchExtractor.Context<T>
 
Constructor Summary
IssueSearchExtractorImpl()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueSearchExtractorImpl

public IssueSearchExtractorImpl()
Method Detail

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 operation
doc - 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.