Uses of Class
org.apache.lucene.search.ScoreDoc
-
-
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 ScoreDoc[]TopDocs. scoreDocsThe top hits for the query.Methods 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.protected TopDocsDiversifiedTopDocsCollector. newTopDocs(ScoreDoc[] results, int start)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 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.Constructors in org.apache.lucene.search with parameters of type ScoreDoc Constructor Description 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
Constructors in org.apache.lucene.search.grouping with parameters of type ScoreDoc Constructor Description CollapseTopFieldDocs(String field, TotalHits totalHits, ScoreDoc[] scoreDocs, SortField[] sortFields, Object[] values) -
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 -
Uses of ScoreDoc in org.elasticsearch.action.search
Methods in org.elasticsearch.action.search that return ScoreDoc Modifier and Type Method Description ScoreDoc[]SearchPhaseController. getLastEmittedDocPerShard(SearchPhaseController.ReducedQueryPhase reducedQueryPhase, int numShards)Methods in org.elasticsearch.action.search with parameters of type ScoreDoc Modifier and Type Method Description IntArrayList[]SearchPhaseController. fillDocIdsToLoad(int numShards, ScoreDoc[] shardDocs)Builds an array, with potential null elements, with docs to load. -
Uses of ScoreDoc in org.elasticsearch.common.lucene
Fields in org.elasticsearch.common.lucene declared as ScoreDoc Modifier and Type Field Description static ScoreDoc[]Lucene. EMPTY_SCORE_DOCSMethods in org.elasticsearch.common.lucene that return ScoreDoc Modifier and Type Method Description static ScoreDocLucene. readScoreDoc(StreamInput in)Methods in org.elasticsearch.common.lucene with parameters of type ScoreDoc Modifier and Type Method Description static voidLucene. writeScoreDoc(StreamOutput out, ScoreDoc scoreDoc) -
Uses of ScoreDoc in org.elasticsearch.search.aggregations.bucket.sampler
Methods in org.elasticsearch.search.aggregations.bucket.sampler that return types with arguments of type ScoreDoc Modifier and Type Method Description protected TopDocsCollector<? extends ScoreDoc>BestDocsDeferringCollector. createTopDocsCollector(int size) -
Uses of ScoreDoc in org.elasticsearch.search.fetch
Methods in org.elasticsearch.search.fetch that return ScoreDoc Modifier and Type Method Description ScoreDocShardFetchRequest. lastEmittedDoc()Constructors in org.elasticsearch.search.fetch with parameters of type ScoreDoc Constructor Description ShardFetchRequest(long id, IntArrayList list, ScoreDoc lastEmittedDoc)ShardFetchSearchRequest(OriginalIndices originalIndices, long id, IntArrayList list, ScoreDoc lastEmittedDoc) -
Uses of ScoreDoc in org.elasticsearch.search.internal
Fields in org.elasticsearch.search.internal declared as ScoreDoc Modifier and Type Field Description ScoreDocScrollContext. lastEmittedDoc -
Uses of ScoreDoc in org.elasticsearch.search.suggest.completion
Methods in org.elasticsearch.search.suggest.completion that return ScoreDoc Modifier and Type Method Description ScoreDocCompletionSuggestion.Entry.Option. getDoc()
-