Uses of Class
org.apache.lucene.search.FieldDoc
-
Packages that use FieldDoc Package Description org.apache.lucene.search Code to search indices. -
-
Uses of FieldDoc in org.apache.lucene.search
Methods in org.apache.lucene.search with parameters of type FieldDoc Modifier and Type Method Description static TopFieldCollector
TopFieldCollector. create(Sort sort, int numHits, FieldDoc after, boolean fillFields, boolean trackDocScores, boolean trackMaxScore, boolean docsScoredInOrder)
Creates a newTopFieldCollector
from the given arguments.protected TopFieldDocs
IndexSearcher. search(List<AtomicReaderContext> leaves, Weight weight, FieldDoc after, int nDocs, Sort sort, boolean fillFields, boolean doDocScores, boolean doMaxScore)
Just likeIndexSearcher.search(Weight, int, Sort, boolean, boolean)
, but you choose whether or not the fields in the returnedFieldDoc
instances should be set by specifying fillFields.protected TopFieldDocs
IndexSearcher. search(Weight weight, FieldDoc after, int nDocs, Sort sort, boolean fillFields, boolean doDocScores, boolean doMaxScore)
Just likeIndexSearcher.search(Weight, int, Sort, boolean, boolean)
, but you choose whether or not the fields in the returnedFieldDoc
instances should be set by specifying fillFields.
-