mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
Co-authored-by: Philippus Baalman <philippus@gmail.com>
This commit is contained in:
parent
8edae3cd15
commit
025e7bee80
@ -318,7 +318,7 @@ public class FieldSortBuilder extends SortBuilder<FieldSortBuilder> {
|
||||
* Specifying a numeric type tells Elasticsearch what type the sort values should
|
||||
* have, which is important for cross-index search, if a field does not have
|
||||
* the same type on all indices.
|
||||
* Allowed values are <code>long</code> and <code>double</code>.
|
||||
* Allowed values are <code>long</code>, <code>double</code>, <code>date</code> and <code>date_nanos</code>.
|
||||
*/
|
||||
public FieldSortBuilder setNumericType(String numericType) {
|
||||
String lowerCase = numericType.toLowerCase(Locale.ENGLISH);
|
||||
|
Loading…
x
Reference in New Issue
Block a user