public class AllDocumentCollector extends AbstractDocumentHitCollector
AbstractDocumentHitCollector.SearcherFacade
searcher
Constructor and Description |
---|
AllDocumentCollector() |
Modifier and Type | Method and Description |
---|---|
protected void |
collect(org.apache.lucene.document.Document document) |
List<org.apache.lucene.document.Document> |
getDocuments() |
boolean |
needsScores()
since 7.1 this method must be overridden in your collector
|
acceptsDocsOutOfOrder, collect, doc, doSetNextReader, setScorer
protected void collect(@NotNull org.apache.lucene.document.Document document)
collect
in class AbstractDocumentHitCollector
public List<org.apache.lucene.document.Document> getDocuments()
public boolean needsScores()
AbstractDocumentHitCollector
needsScores
in interface org.apache.lucene.search.Collector
needsScores
in class AbstractDocumentHitCollector
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.