Package | Description |
---|---|
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
DisMaxQueryBuilder |
DisMaxQueryBuilder.add(QueryBuilder queryBuilder)
Add a sub-query to this disjunction.
|
DisMaxQueryBuilder |
DisMaxQueryBuilder.boost(float boost)
Sets the boost for this query.
|
static DisMaxQueryBuilder |
QueryBuilders.disMaxQuery()
A query that generates the union of documents produced by its sub-queries, and that scores each document
with the maximum score for that document as produced by any sub-query, plus a tie breaking increment for any
additional matching sub-queries.
|
DisMaxQueryBuilder |
DisMaxQueryBuilder.queryName(String queryName)
Sets the query name for the filter that can be used when searching for matched_filters per hit.
|
DisMaxQueryBuilder |
DisMaxQueryBuilder.tieBreaker(float tieBreaker)
The score of each non-maximum disjunct for a document is multiplied by this weight
and added into the final score.
|
Copyright © 2009–2016. All rights reserved.