com.atlassian.jira.jql.query
Class IssueIdCollector
java.lang.Object
org.apache.lucene.search.Collector
com.atlassian.jira.jql.query.IssueIdCollector
public class IssueIdCollector
- extends org.apache.lucene.search.Collector
Collect Issue Ids for subquery searchers.
- Since:
- v6.1
Constructor Summary |
IssueIdCollector(org.apache.lucene.index.IndexReader indexReader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueIdCollector
public IssueIdCollector(org.apache.lucene.index.IndexReader indexReader)
setScorer
public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
- Specified by:
setScorer
in class org.apache.lucene.search.Collector
- Throws:
IOException
collect
public void collect(int doc)
throws IOException
- Specified by:
collect
in class org.apache.lucene.search.Collector
- Throws:
IOException
setNextReader
public void setNextReader(org.apache.lucene.index.IndexReader reader,
int docBase)
throws IOException
- Specified by:
setNextReader
in class org.apache.lucene.search.Collector
- Throws:
IOException
acceptsDocsOutOfOrder
public boolean acceptsDocsOutOfOrder()
- Specified by:
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
getIssueIds
public Set<String> getIssueIds()
throws IOException
- Throws:
IOException
getIssueIdsDirectly
public Set<String> getIssueIdsDirectly()
throws IOException
- Throws:
IOException
getIssueIdsByTerms
public Set<String> getIssueIdsByTerms()
throws IOException
- Throws:
IOException
getAllIssueIds
public Set<String> getAllIssueIds()
throws IOException
- Throws:
IOException
Copyright © 2002-2014 Atlassian. All Rights Reserved.