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.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 |
---|---|
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.
|