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