| Package | Description |
|---|---|
| org.apache.lucene.facet |
faceted search
|
| org.apache.lucene.search |
Code to search indices.
|
| org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
| Modifier and Type | Method and Description |
|---|---|
static TopFieldDocs |
FacetsCollector.search(IndexSearcher searcher,
Query q,
Filter filter,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector. |
static TopFieldDocs |
FacetsCollector.search(IndexSearcher searcher,
Query q,
Filter filter,
int n,
Sort sort,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector. |
| Modifier and Type | Method and Description |
|---|---|
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. |
TopFieldDocs |
IndexSearcher.search(Query query,
Filter filter,
int n,
Sort sort)
Search implementation with arbitrary sorting.
|
TopFieldDocs |
IndexSearcher.search(Query query,
Filter filter,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore)
Search implementation with arbitrary sorting, plus
control over whether hit scores and max score
should be computed.
|
TopFieldDocs |
IndexSearcher.search(Query query,
int n,
Sort sort)
Search implementation with arbitrary sorting and no filter.
|
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. |
protected TopFieldDocs |
IndexSearcher.search(Weight weight,
int nDocs,
Sort sort,
boolean doDocScores,
boolean doMaxScore)
Expert: Low-level search implementation with arbitrary
sorting and control over whether hit scores and max
score should be computed.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Lookup.LookupResult> |
AnalyzingInfixSuggester.createResults(IndexSearcher searcher,
TopFieldDocs hits,
int num,
CharSequence charSequence,
boolean doHighlight,
Set<String> matchedTokens,
String prefixToken)
Create the results based on the search hits.
|
protected List<Lookup.LookupResult> |
BlendedInfixSuggester.createResults(IndexSearcher searcher,
TopFieldDocs hits,
int num,
CharSequence key,
boolean doHighlight,
Set<String> matchedTokens,
String prefixToken) |
Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.