Skip to content

Commit 5670998

Browse files
jrodewigPhilippus
andauthored
[DOCS] Fix allowed values for numeric sort types (#60176) (#60301)
Co-authored-by: Philippus Baalman <[email protected]>
1 parent 22ab563 commit 5670998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/search/sort/FieldSortBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public String getNumericType() {
320320
* Specifying a numeric type tells Elasticsearch what type the sort values should
321321
* have, which is important for cross-index search, if a field does not have
322322
* the same type on all indices.
323-
* Allowed values are <code>long</code> and <code>double</code>.
323+
* Allowed values are <code>long</code>, <code>double</code>, <code>date</code> and <code>date_nanos</code>.
324324
*/
325325
public FieldSortBuilder setNumericType(String numericType) {
326326
String lowerCase = numericType.toLowerCase(Locale.ENGLISH);

0 commit comments

Comments
 (0)