public class QueryExistsNested extends QuerySpec
new QueryExistsNested() .setTerm("searchField", "nestedObject")See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html
Constructor and Description |
---|
QueryExistsNested() |
Modifier and Type | Method and Description |
---|---|
String |
getField() |
String |
getPath() |
QueryExistsNested |
setTerm(String field,
String path) |
exclude, excludeResults, include, includeAllSources, setAggregate, setAggregateSize, setCountOnly, setExplain, setHighlight, setIndex, setInnerHits, setPageSize, setQuerySort, setScroll, setStartRecord, setType
public QueryExistsNested setTerm(String field, String path)
public String getField()
public String getPath()
Copyright © 2020. All rights reserved.