public class QuerySort extends Object
new QueryMatch() .setTerm("fooField", "foo") .setIndex("bar") .setType("FooBarDTO") .setPageSize(10) .setStartRecord(0) .setExplain(false);See also:
Constructor and Description |
---|
QuerySort() |
Modifier and Type | Method and Description |
---|---|
QuerySort |
setSort(String field,
org.elasticsearch.search.sort.SortOrder order)
A convenience method to set the term of this query.
|
Copyright © 2020. All rights reserved.