org.elasticsearch.index.query
Class NestedQueryBuilder
java.lang.Object
org.elasticsearch.index.query.BaseQueryBuilder
org.elasticsearch.index.query.NestedQueryBuilder
- All Implemented Interfaces:
- ToXContent, QueryBuilder
public class NestedQueryBuilder
- extends BaseQueryBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NestedQueryBuilder
public NestedQueryBuilder(java.lang.String path,
QueryBuilder queryBuilder)
NestedQueryBuilder
public NestedQueryBuilder(java.lang.String path,
FilterBuilder filterBuilder)
scoreMode
public NestedQueryBuilder scoreMode(java.lang.String scoreMode)
- The score mode.
scope
public NestedQueryBuilder scope(java.lang.String scope)
boost
public NestedQueryBuilder boost(float boost)
- Sets the boost for this query. Documents matching this query will (in addition to the normal
weightings) have their score multiplied by the boost provided.
doXContent
protected void doXContent(XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Specified by:
doXContent
in class BaseQueryBuilder
- Throws:
java.io.IOException