Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
static ScoringRewrite<BooleanQuery.Builder> |
ScoringRewrite.SCORING_BOOLEAN_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 |
---|---|
BooleanQuery.Builder |
BooleanQuery.Builder.add(BooleanClause clause)
Add a new clause to this
BooleanQuery.Builder . |
BooleanQuery.Builder |
BooleanQuery.Builder.add(Query query,
BooleanClause.Occur occur)
Add a new clause to this
BooleanQuery.Builder . |
protected BooleanQuery.Builder |
MultiTermQuery.TopTermsScoringBooleanQueryRewrite.getTopLevelBuilder() |
protected BooleanQuery.Builder |
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.getTopLevelBuilder() |
BooleanQuery.Builder |
BooleanQuery.Builder.setMinimumNumberShouldMatch(int min)
Specifies a minimum number of the optional BooleanClauses
which must be satisfied.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MultiTermQuery.TopTermsScoringBooleanQueryRewrite.addClause(BooleanQuery.Builder topLevel,
Term term,
int docCount,
float boost,
TermStates states) |
protected void |
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.addClause(BooleanQuery.Builder topLevel,
Term term,
int docFreq,
float boost,
TermStates states) |
protected Query |
MultiTermQuery.TopTermsScoringBooleanQueryRewrite.build(BooleanQuery.Builder builder) |
protected Query |
MultiTermQuery.TopTermsBoostOnlyBooleanQueryRewrite.build(BooleanQuery.Builder builder) |
Modifier and Type | Method and Description |
---|---|
protected BooleanQuery.Builder |
QueryBuilder.newBooleanQuery()
Builds a new BooleanQuery instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryBuilder.add(BooleanQuery.Builder q,
List<Term> current,
BooleanClause.Occur operator) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.