Package | Description |
---|---|
org.apache.lucene.queryParser |
A simple query parser implemented with JavaCC.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanQuery |
QueryParser.newBooleanQuery(boolean disableCoord)
Builds a new BooleanQuery instance
|
Modifier and Type | Field and Description |
---|---|
static ScoringRewrite<BooleanQuery> |
ScoringRewrite.SCORING_BOOLEAN_QUERY_REWRITE
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD clause in a
BooleanQuery, and keeps the scores as computed by the
query. |
Modifier and Type | Method and Description |
---|---|
protected BooleanQuery |
MultiTermQuery.TopTermsScoringBooleanQueryRewrite.getTopLevelQuery() |
protected BooleanQuery |
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.getTopLevelQuery() |
Modifier and Type | Method and Description |
---|---|
protected void |
MultiTermQuery.TopTermsScoringBooleanQueryRewrite.addClause(BooleanQuery topLevel,
Term term,
float boost) |
protected void |
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.addClause(BooleanQuery topLevel,
Term term,
float boost) |
static Query |
Query.mergeBooleanQueries(BooleanQuery... queries)
Expert: merges the clauses of a set of BooleanQuery's into a single
BooleanQuery.
|