OpenSearch/docs/reference/migration/migrate_5_0
Adrien Grand 866a5459f0 Make significant terms work on fields that are indexed with points. #18031
It will keep using the caching terms enum for keyword/text fields and falls back
to IndexSearcher.count for fields that do not use the inverted index for
searching (such as numbers and ip addresses). Note that this probably means that
significant terms aggregations on these fields will be less efficient than they
used to be. It should be ok under a sampler aggregation though.

This moves tests back to the state they were in before numbers started using
points, and also adds a new test that significant terms aggs fail if a field is
not indexed.

In the long term, we might want to follow the approach that Robert initially
proposed that consists in collecting all documents from the background filter in
order to compute frequencies using doc values. This would also mean that
significant terms aggregations do not require fields to be indexed anymore.
2016-05-11 16:52:58 +02:00
..
aggregations.asciidoc Make significant terms work on fields that are indexed with points. #18031 2016-05-11 16:52:58 +02:00
allocation.asciidoc Reworked 5.0 breaking changes docs 2016-03-13 21:17:48 +01:00
cat.asciidoc Add note about cat field data API changes into migration doc 2016-05-10 16:41:21 +03:00
fs.asciidoc Use `mmapfs` by default. 2016-04-08 20:23:27 +02:00
http.asciidoc Enable HTTP compression by default with compression level 3 2016-05-03 08:53:15 +02:00
index-apis.asciidoc Update index-apis.asciidoc 2016-04-25 13:06:57 +02:00
java.asciidoc Allow binary sort values. #17959 2016-05-06 09:27:02 +02:00
mapping.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
packaging.asciidoc Require /bin/bash in packaging 2016-05-10 21:17:09 -04:00
percolator.asciidoc percolator: renamed `percolator` query to `percolate` query 2016-04-20 15:23:54 +02:00
plugins.asciidoc Remove plugin script parsing of system properties 2016-05-09 13:06:18 -04:00
rest.asciidoc Document missing shard version in routing table of cluster state (#17945) 2016-04-26 10:50:38 +02:00
scripting.asciidoc Added perl migration script for indexed scripts to migration docs 2016-04-29 14:18:27 +02:00
search.asciidoc Merge branch 'master' into enhancement/switch_geodistancesortbuilder_to_geovalidationmethod 2016-05-04 11:30:15 +02:00
settings.asciidoc Update settings.asciidoc 2016-04-26 00:15:39 -07:00
suggest.asciidoc Document completion suggest breaking changes 2016-04-26 10:15:21 -04:00