Uses of Class
org.apache.lucene.search.ScoreDoc
Packages that use ScoreDoc
-
Uses of ScoreDoc in org.apache.lucene.search
Classes in org.apache.lucene.search with type parameters of type ScoreDocModifier and TypeClassDescriptionclass
TopDocsCollector<T extends ScoreDoc>
A base class for all collectors that return aTopDocs
output.Subclasses of ScoreDoc in org.apache.lucene.searchModifier and TypeClassDescriptionclass
Expert: A ScoreDoc which also contains information about how to sort the referenced document.static class
Extension of ScoreDoc to also store theFieldComparator
slot.Fields in org.apache.lucene.search declared as ScoreDocMethods in org.apache.lucene.search with parameters of type ScoreDocModifier and TypeMethodDescriptionstatic TopScoreDocCollector
Creates a newTopScoreDocCollector
given the number of hits to collect, the bottom of the previous page, and whether documents are scored in order by the inputScorer
toTopScoreDocCollector.setScorer(Scorer)
.protected TopDocs
TopDocsCollector.newTopDocs
(ScoreDoc[] results, int start) Returns aTopDocs
instance containing the given results.protected TopDocs
TopFieldCollector.newTopDocs
(ScoreDoc[] results, int start) protected TopDocs
TopScoreDocCollector.newTopDocs
(ScoreDoc[] results, int start) protected void
TopDocsCollector.populateResults
(ScoreDoc[] results, int howMany) Populates the results array with the ScoreDoc instances.protected void
TopFieldCollector.populateResults
(ScoreDoc[] results, int howMany) protected TopDocs
IndexSearcher.search
(List<AtomicReaderContext> leaves, Weight weight, ScoreDoc after, int nDocs) Expert: Low-level search implementation.protected TopDocs
Expert: Low-level search implementation.IndexSearcher.searchAfter
(ScoreDoc after, Query query, int n) Finds the topn
hits forquery
where all results are after a previous result (after
).IndexSearcher.searchAfter
(ScoreDoc after, Query query, int n, Sort sort) Finds the topn
hits forquery
where all results are after a previous result (after
).IndexSearcher.searchAfter
(ScoreDoc after, Query query, Filter filter, int n) Finds the topn
hits forquery
, applyingfilter
if non-null, where all results are after a previous result (after
).IndexSearcher.searchAfter
(ScoreDoc after, Query query, Filter filter, int n, Sort sort) Finds the topn
hits forquery
, applyingfilter
if non-null, where all results are after a previous result (after
).IndexSearcher.searchAfter
(ScoreDoc after, Query query, Filter filter, int n, Sort sort, boolean doDocScores, boolean doMaxScore) Finds the topn
hits forquery
where all results are after a previous result (after
), allowing control over whether hit scores and max score should be computed.Constructors in org.apache.lucene.search with parameters of type ScoreDocModifierConstructorDescriptionTopFieldDocs
(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore) Creates one of these objects.