OpenSearch/docs/reference
Jim Ferenczi 5b73a1bc7d
Add an option to force the numeric type of a field sort (#38095) (#40084)
This change adds an option to the `FieldSortBuilder` that allows to transform the type
of a numeric field into another. Possible values for this option are `long` that transforms
the source field into an integer and `double` that transforms the source field into a floating point.
This new option is useful for cross-index search when the sort field is mapped differently on some
indices. For instance if a field is mapped as a floating point in one index and as an integer in another
it is possible to align the type for both indices using the `numeric_type` option:

```
{
   "sort": {
    "field": "my_field",
    "numeric_type": "double" <1>
   }
}
```

<1> Ensure that values for this field are transformed to a floating point if needed.
2019-03-18 09:32:45 +01:00
..
aggregations Correct date in daterange-aggregation.asciidoc (#39727) 2019-03-06 11:29:32 +01:00
analysis Correct errors in min_hash filter documentation 2019-03-08 16:21:24 -05:00
cat Fix a typo in the cat shards API docs (#38536) 2019-02-20 11:36:46 +01:00
ccr Fix CCR forget follower docs example 2019-03-13 10:03:22 -04:00
cluster [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
commands Add elasticsearch-node tool docs (#37812) 2019-03-12 12:47:10 +01:00
docs Edits to text in Optimistic Concurrency Ctrl doc (#39191) 2019-02-25 16:54:23 +01:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
how-to Update the how-to section of the docs for 7.0: (#37717) 2019-03-12 08:24:39 +01:00
ilm Document 'max_size' parameter as shard size for rollover (#38750) 2019-02-19 11:17:54 -07:00
images SQL: doc polishing 2019-02-15 22:14:36 +02:00
index-modules [DOCS] Fixes broken formatting 2019-02-15 11:18:00 -08:00
indices add missing `test2` index in alias example (#39212) (#39214) 2019-02-20 17:45:24 -08:00
ingest Adding an example in the Set processor documentation to address #30604 (#39941) (#39969) 2019-03-12 11:14:41 -07:00
licensing [DOCS] Synchs titles of X-Pack APIs 2018-12-20 10:27:24 -08:00
mapping Document the limitation around field aliases and percolator. (#40073) 2019-03-15 10:54:09 -07:00
migration Warn about the fact that the terms index is moving off-heap. (#39918) 2019-03-12 10:16:41 +01:00
ml [ML] Correct small inconsistencies in ml APIs spec and docs (#39907) 2019-03-11 14:02:50 +00:00
modules [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
monitoring Remove outdated DNS caching docs from HTTP exporter (#39394) 2019-02-27 08:08:44 -05:00
query-dsl Make the `type` parameter optional when percolating existing documents. (#39987) (#39989) 2019-03-13 15:04:41 +01:00
release-notes Generate release notes for 7.0.0-alpha1. (#39899) 2019-03-12 08:10:18 +01:00
rest-api [DOCS] Replaces CCR terms with attributes (#39516) 2019-03-12 14:35:22 -07:00
rollup Rollup jobs should be cleaned up before indices are deleted (#38930) (#39144) 2019-02-20 11:12:01 -08:00
search Add an option to force the numeric type of a field sort (#38095) (#40084) 2019-03-18 09:32:45 +01:00
security Rename static Zen1 settings (#38333) 2019-02-05 08:46:52 +00:00
settings Document monitoring node stats collection timeout (#39846) (#40140) 2019-03-18 08:59:02 +01:00
setup [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
sql [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
testing Uppercasing some docs section title (#37781) 2019-01-24 22:54:55 +01:00
upgrade [DOCS] Add reindex steps for internal indices (#40019) 2019-03-14 10:30:13 -07:00
aggregations.asciidoc [Docs] Update aggregations.asciidoc (#29265) 2018-03-28 15:01:45 +02:00
analysis.asciidoc Remove more include_type_name and types from docs (#37601) 2019-01-18 14:11:18 +01:00
api-conventions.asciidoc Date_math_expression doc to inform about format backport#39840 #39903 2019-03-12 09:19:44 +01:00
cat.asciidoc Minor docs cleanup (#37595) 2019-01-18 09:28:48 +01:00
cluster.asciidoc [DOCS] Adds overview and API ref for cluster voting configurations (#36954) 2019-01-07 09:11:14 -08:00
docs.asciidoc Document Seq No powered optimistic concurrency control (#37284) 2019-01-11 07:59:15 -08:00
frozen-indices.asciidoc Expose `search.throttled` on `_cat/indices` (#37073) 2019-01-04 13:49:40 +01:00
getting-started.asciidoc Isolate Zen1 (#39470) 2019-03-04 15:51:17 +01:00
glossary.asciidoc [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
index.asciidoc [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc add split index reference in indices.asciidoc 2017-11-06 12:55:41 +01:00
ingest.asciidoc ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
mapping.asciidoc Fix duplicate note x-refs in mapping.asciidoc (#37904) 2019-01-28 09:29:07 +00:00
modules.asciidoc [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
query-dsl.asciidoc Update query-dsl.asciidoc (#27669) 2017-12-11 18:06:08 +01:00
redirects.asciidoc [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
release-notes.asciidoc [DOCS] Added include and reference to beta1 RNs (#38905) 2019-02-14 07:43:54 -08:00
search.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
setup.asciidoc [DOCS] Removes X-Pack settings section (#39870) 2019-03-14 14:37:37 -07:00
testing.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade.asciidoc [DOCS] First pass at upgrade updates for 7.0. (#39944) 2019-03-13 14:43:32 -07:00