Uses of Class
org.apache.lucene.search.ScoreDoc
-
Packages that use ScoreDoc Package Description org.apache.lucene.index.pruning Static Index Pruning Toolsorg.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping This module enables search result grouping with Lucene, where hits with the same value in the specified single-valued group field are grouped together. -
-
Uses of ScoreDoc in org.apache.lucene.index.pruning
Methods in org.apache.lucene.index.pruning with parameters of type ScoreDoc Modifier and Type Method Description intCarmelTopKTermPruningPolicy.ByDocComparator. compare(ScoreDoc o1, ScoreDoc o2)intCarmelUniformTermPruningPolicy.ByDocComparator. compare(ScoreDoc o1, ScoreDoc o2) -
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 classFieldDocExpert: A ScoreDoc which also contains information about how to sort the referenced document.static classFieldValueHitQueue.EntryFields 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 voidCheckHits. checkDocIds(String mes, int[] results, ScoreDoc[] hits)Tests that a Hits has an expected order of documentsstatic voidCheckHits. checkEqual(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2)static voidCheckHits. checkHitsQuery(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2, int[] results)Tests that two queries have an expected order of documents, and that the two queries have the same score values.static TopScoreDocCollectorTopScoreDocCollector. create(int numHits, ScoreDoc after, boolean docsScoredInOrder)Creates a newTopScoreDocCollectorgiven the number of hits to collect, the bottom of the previous page, and whether documents are scored in order by the inputScorertoTopScoreDocCollector.setScorer(Scorer).static StringCheckHits. hits2str(ScoreDoc[] hits1, ScoreDoc[] hits2, int start, int end)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)protected TopDocsIndexSearcher. search(Weight weight, Filter filter, ScoreDoc after, int nDocs)Expert: Low-level search implementation.TopDocsIndexSearcher. searchAfter(ScoreDoc after, Query query, int n)Finds the topnhits forquerywhere all results are after a previous result (after).TopDocsIndexSearcher. searchAfter(ScoreDoc after, Query query, Filter filter, int n)Finds the topnhits forquery, applyingfilterif non-null, where all results are after a previous result (after).Constructors in org.apache.lucene.search with parameters of type ScoreDoc Constructor Description TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore)TopFieldDocs(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore)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 maxScore, int totalHits, ScoreDoc[] scoreDocs, GROUP_VALUE_TYPE groupValue, Object[] groupSortValues)
-