Package | Description |
---|---|
org.apache.lucene.queryparser.complexPhrase |
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
|
org.apache.lucene.queryparser.flexible.standard.builders |
Standard Lucene Query Node Builders.
|
org.apache.lucene.queryparser.simple |
A simple query parser for human-entered queries.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
private BooleanQuery |
ComplexPhraseQueryParser.ComplexPhraseQuery.convert(SynonymQuery qc) |
Modifier and Type | Method and Description |
---|---|
private void |
ComplexPhraseQueryParser.ComplexPhraseQuery.addComplexPhraseClause(java.util.List<SpanQuery> spanClauses,
BooleanQuery qc) |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
AnyQueryNodeBuilder.build(QueryNode queryNode) |
BooleanQuery |
BooleanQueryNodeBuilder.build(QueryNode queryNode) |
Modifier and Type | Method and Description |
---|---|
private static BooleanQuery |
SimpleQueryParser.addClause(BooleanQuery bq,
Query query,
BooleanClause.Occur occur) |
Modifier and Type | Method and Description |
---|---|
private static BooleanQuery |
SimpleQueryParser.addClause(BooleanQuery bq,
Query query,
BooleanClause.Occur occur) |
protected Query |
SimpleQueryParser.simplify(BooleanQuery bq)
Helper to simplify boolean queries with 0 or 1 clause
|
Modifier and Type | Field and Description |
---|---|
(package private) BooleanQuery |
BooleanWeight.query |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
BooleanQuery.Builder.build()
Create a new
BooleanQuery based on the parameters that have
been set on this builder. |
private BooleanQuery |
BooleanQuery.rewriteNoScoring() |
private BooleanQuery |
BM25FQuery.rewriteToBoolean() |
Modifier and Type | Method and Description |
---|---|
private boolean |
BooleanQuery.equalsTo(BooleanQuery other) |
Constructor and Description |
---|
BooleanWeight(BooleanQuery query,
IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Lookup.LookupResult> |
Lookup.lookup(java.lang.CharSequence key,
BooleanQuery contextFilerQuery,
int num,
boolean allTermsRequired,
boolean doHighlight)
Look up a key and return possible completion for this key.
|
Modifier and Type | Method and Description |
---|---|
private BooleanQuery |
AnalyzingInfixSuggester.toQuery(java.util.Map<BytesRef,BooleanClause.Occur> contextInfo) |
private BooleanQuery |
AnalyzingInfixSuggester.toQuery(java.util.Set<BytesRef> contextInfo) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Lookup.LookupResult> |
BlendedInfixSuggester.lookup(java.lang.CharSequence key,
BooleanQuery contextQuery,
int num,
boolean allTermsRequired,
boolean doHighlight) |
java.util.List<Lookup.LookupResult> |
AnalyzingInfixSuggester.lookup(java.lang.CharSequence key,
BooleanQuery contextQuery,
int num,
boolean allTermsRequired,
boolean doHighlight)
This is an advanced method providing the capability to send down to the suggester any
arbitrary lucene query to be used to filter the result of the suggester
|
Modifier and Type | Method and Description |
---|---|
private BooleanQuery |
QueryBuilder.addMinShouldMatchToBoolean(BooleanQuery query,
float fraction)
Rebuilds a boolean query and sets a new minimum number should match value.
|
Modifier and Type | Method and Description |
---|---|
private BooleanQuery |
QueryBuilder.addMinShouldMatchToBoolean(BooleanQuery query,
float fraction)
Rebuilds a boolean query and sets a new minimum number should match value.
|