FieldableDocumentHitCollector
public abstract class DocumentHitCollector
extends org.apache.lucene.search.Collector
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.
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.search.IndexSearcher |
searcher
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
DocumentHitCollector(org.apache.lucene.search.IndexSearcher searcher)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected DocumentHitCollector(org.apache.lucene.search.IndexSearcher searcher)
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)
Copyright © 2002-2015 Atlassian. All Rights Reserved.