Uses of Class
org.apache.lucene.search.ScoreDoc
-
Packages that use ScoreDoc Package Description org.apache.lucene.classification.utils Utilities for evaluation, data preparation, etc.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping Grouping.org.apache.lucene.search.suggest.document Support for document suggestion -
-
Uses of ScoreDoc in org.apache.lucene.classification.utils
Methods in org.apache.lucene.classification.utils with parameters of type ScoreDoc Modifier and Type Method Description private DocumentDatasetSplitter. createNewDoc(IndexReader originalIndex, FieldType ft, ScoreDoc scoreDoc, java.lang.String[] fieldNames) -
Uses of ScoreDoc in org.apache.lucene.search
Classes in org.apache.lucene.search with type parameters of type ScoreDoc Modifier and Type Class Description classTopDocsCollector<T extends ScoreDoc>A base class for all collectors that return aTopDocsoutput.Subclasses of ScoreDoc in org.apache.lucene.search Modifier and Type Class Description static classDiversifiedTopDocsCollector.ScoreDocKeyAn extension to ScoreDoc that includes a key used for grouping purposesclassFieldDocExpert: A ScoreDoc which also contains information about how to sort the referenced document.static classFieldValueHitQueue.EntryExtension of ScoreDoc to also store theFieldComparatorslot.Fields in org.apache.lucene.search declared as ScoreDoc Modifier and Type Field Description private ScoreDocTopScoreDocCollector.PagingTopScoreDocCollector. afterprivate static ScoreDoc[]TopFieldCollector. EMPTY_SCOREDOCS(package private) ScoreDocLargeNumHitsTopDocsCollector. pqTop(package private) ScoreDocTopScoreDocCollector. pqTopScoreDoc[]TopDocs. scoreDocsThe top hits for the query.(package private) ScoreDoc[][]TopDocs.MergeSortQueue. shardHits(package private) ScoreDoc[][]TopDocs.ScoreMergeSortQueue. shardHitsFields in org.apache.lucene.search with type parameters of type ScoreDoc Modifier and Type Field Description private java.util.List<ScoreDoc>LargeNumHitsTopDocsCollector. hitsMethods in org.apache.lucene.search with parameters of type ScoreDoc Modifier and Type Method Description static TopScoreDocCollectorTopScoreDocCollector. create(int numHits, ScoreDoc after, int totalHitsThreshold)Creates a newTopScoreDocCollectorgiven the number of hits to collect, the bottom of the previous page, and the number of hits to count accurately.(package private) static TopScoreDocCollectorTopScoreDocCollector. create(int numHits, ScoreDoc after, HitsThresholdChecker hitsThresholdChecker, MaxScoreAccumulator minScoreAcc)(package private) intTopDocs.ShardRef. getShardIndex(ScoreDoc scoreDoc)protected booleanHitQueue. lessThan(ScoreDoc hitA, ScoreDoc hitB)protected TopDocsDiversifiedTopDocsCollector. newTopDocs(ScoreDoc[] results, int start)protected TopDocsLargeNumHitsTopDocsCollector. newTopDocs(ScoreDoc[] results)Returns aTopDocsinstance containing the given results.protected TopDocsTopDocsCollector. newTopDocs(ScoreDoc[] results, int start)Returns aTopDocsinstance containing the given results.protected TopDocsTopFieldCollector. newTopDocs(ScoreDoc[] results, int start)protected TopDocsTopScoreDocCollector. newTopDocs(ScoreDoc[] results, int start)protected TopDocsTopScoreDocCollector.PagingTopScoreDocCollector. newTopDocs(ScoreDoc[] results, int start)protected voidLargeNumHitsTopDocsCollector. populateResults(ScoreDoc[] results, int howMany)Populates the results array with the ScoreDoc instances.protected voidTopDocsCollector. populateResults(ScoreDoc[] results, int howMany)Populates the results array with the ScoreDoc instances.protected voidTopFieldCollector. populateResults(ScoreDoc[] results, int howMany)static voidTopFieldCollector. populateScores(ScoreDoc[] topDocs, IndexSearcher searcher, Query query)Populatescoresof the giventopDocs.TopDocsIndexSearcher. searchAfter(ScoreDoc after, Query query, int numHits)Finds the topnhits forquerywhere all results are after a previous result (after).TopDocsIndexSearcher. searchAfter(ScoreDoc after, Query query, int n, Sort sort)Finds the topnhits forquerywhere all results are after a previous result (after).TopFieldDocsIndexSearcher. searchAfter(ScoreDoc after, Query query, int numHits, Sort sort, boolean doDocScores)Finds the topnhits forquerywhere all results are after a previous result (after), allowing control over whether hit scores and max score should be computed.(package private) static booleanTopDocs. tieBreakLessThan(TopDocs.ShardRef first, ScoreDoc firstDoc, TopDocs.ShardRef second, ScoreDoc secondDoc)if we need to tie-break since score / sort value are the same we first compare shard index (lower shard wins) and then iff shard index is the same we use the hit index.Constructors in org.apache.lucene.search with parameters of type ScoreDoc Constructor Description PagingTopScoreDocCollector(int numHits, ScoreDoc after, HitsThresholdChecker hitsThresholdChecker, MaxScoreAccumulator minScoreAcc)TopDocs(TotalHits totalHits, ScoreDoc[] scoreDocs)Constructs a TopDocs.TopFieldDocs(TotalHits totalHits, ScoreDoc[] scoreDocs, SortField[] fields)Creates one of these objects. -
Uses of ScoreDoc in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as ScoreDoc Modifier and Type Field Description ScoreDoc[]GroupDocs. scoreDocsHits; this may beFieldDocinstances if the withinGroupSort sorted by fields.Constructors in org.apache.lucene.search.grouping with parameters of type ScoreDoc Constructor Description GroupDocs(float score, float maxScore, TotalHits totalHits, ScoreDoc[] scoreDocs, T groupValue, java.lang.Object[] groupSortValues) -
Uses of ScoreDoc in org.apache.lucene.search.suggest.document
Subclasses of ScoreDoc in org.apache.lucene.search.suggest.document Modifier and Type Class Description static classTopSuggestDocs.SuggestScoreDocScoreDocwith an additional CharSequence key
-