|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.Collector com.atlassian.jira.issue.statistics.util.DocumentHitCollector
FieldableDocumentHitCollector
public abstract class DocumentHitCollector
A simple Lucene Collector
that visits the entire Document for each result in the search.
JIRA Issue Documents are quite large, so this is probably rather inefficient.
Consider using FieldableDocumentHitCollector
instead if you only want a subset of each Document.
Field Summary | |
---|---|
protected org.apache.lucene.search.IndexSearcher |
searcher
Deprecated. |
Constructor Summary | |
---|---|
protected |
DocumentHitCollector(org.apache.lucene.search.IndexSearcher searcher)
Deprecated. |
Method Summary | |
---|---|
boolean |
acceptsDocsOutOfOrder()
Deprecated. |
abstract void |
collect(org.apache.lucene.document.Document d)
Deprecated. |
void |
collect(int i)
Deprecated. |
void |
setNextReader(org.apache.lucene.index.IndexReader reader,
int docBase)
Deprecated. |
void |
setScorer(org.apache.lucene.search.Scorer scorer)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.lucene.search.IndexSearcher searcher
Constructor Detail |
---|
protected DocumentHitCollector(org.apache.lucene.search.IndexSearcher searcher)
Method Detail |
---|
public void collect(int i)
collect
in class org.apache.lucene.search.Collector
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in class org.apache.lucene.search.Collector
IOException
public void setNextReader(org.apache.lucene.index.IndexReader reader, int docBase) throws IOException
setNextReader
in class org.apache.lucene.search.Collector
IOException
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
public abstract void collect(org.apache.lucene.document.Document d)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |