We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ab563 commit 5670998Copy full SHA for 5670998
server/src/main/java/org/elasticsearch/search/sort/FieldSortBuilder.java
@@ -320,7 +320,7 @@ public String getNumericType() {
320
* Specifying a numeric type tells Elasticsearch what type the sort values should
321
* have, which is important for cross-index search, if a field does not have
322
* the same type on all indices.
323
- * 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>.
324
*/
325
public FieldSortBuilder setNumericType(String numericType) {
326
String lowerCase = numericType.toLowerCase(Locale.ENGLISH);
0 commit comments