public interface ElasticsearchSearchSortFactory extends SearchSortFactory
| Modifier and Type | Method and Description |
|---|---|
SortThenStep |
fromJson(com.google.gson.JsonObject jsonObject)
Order elements according to a JSON sort definition.
|
SortThenStep |
fromJson(String jsonString)
Order elements according to a JSON sort definition.
|
composite, composite, distance, distance, extension, extension, field, indexOrder, scoreSortThenStep fromJson(String jsonString)
jsonString - A JSON-formatted string representing an Elasticsearch sort.
The JSON object must be a syntactically correct Elasticsearch sort.
See the Elasticsearch documentation.SortThenStep allowing the retrieval of the sort
or the chaining of other sorts.SortThenStep fromJson(com.google.gson.JsonObject jsonObject)
jsonObject - A JsonObject representing an Elasticsearch sort.
The JSON object must be a syntactically correct Elasticsearch sort.
See the Elasticsearch documentation.SortThenStep allowing the retrieval of the sort
or the chaining of other sorts.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.