Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
BooleanQueryNodeBuilder.build(QueryNode queryNode) |
BooleanQuery |
AnyQueryNodeBuilder.build(QueryNode queryNode) |
Modifier and Type | Method and Description |
---|---|
protected Query |
SimpleQueryParser.simplify(BooleanQuery bq)
Helper to simplify boolean queries with 0 or 1 clause
|
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. |
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 |
---|---|
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
|
java.util.List<Lookup.LookupResult> |
BlendedInfixSuggester.lookup(java.lang.CharSequence key,
BooleanQuery contextQuery,
int num,
boolean allTermsRequired,
boolean doHighlight) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.