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.highlight |
Highlighting search terms.
|
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) |
BooleanQuery |
StandardBooleanQueryNodeBuilder.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() |
Modifier and Type | Method and Description |
---|---|
private boolean |
BooleanQuery.equalsTo(BooleanQuery other) |
Constructor and Description |
---|
BooleanWeight(BooleanQuery query,
IndexSearcher searcher,
boolean needsScores,
boolean disableCoord) |
Modifier and Type | Method and Description |
---|---|
private static void |
QueryTermExtractor.getTermsFromBooleanQuery(BooleanQuery query,
float boost,
java.util.HashSet<WeightedTerm> terms,
boolean prohibited,
java.lang.String fieldName)
extractTerms is currently the only query-independent means of introspecting queries but it only reveals
a list of terms for that query - not the boosts each individual term in that query may or may not have.
|