| Package | Description |
|---|---|
| org.apache.lucene.search |
Code to search indices.
|
| Modifier and Type | Method and Description |
|---|---|
static TopFieldCollector |
TopFieldCollector.create(Sort sort,
int numHits,
FieldDoc after,
boolean fillFields,
boolean trackDocScores,
boolean trackMaxScore,
boolean docsScoredInOrder)
Creates a new
TopFieldCollector 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 like
IndexSearcher.search(Weight, int, Sort, boolean, boolean), but you choose
whether or not the fields in the returned FieldDoc 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 like
IndexSearcher.search(Weight, int, Sort, boolean, boolean), but you choose
whether or not the fields in the returned FieldDoc instances should
be set by specifying fillFields. |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.