OpenSearch/docs/reference/migration
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
..
migrate_5_0 Make significant terms work on fields that are indexed with points. #18031 2016-05-11 16:52:58 +02:00
index.asciidoc Docs: Added note about upgrading from 1.x to 5.x 2016-03-14 09:58:46 +01:00
migrate_5_0.asciidoc Enable HTTP compression by default with compression level 3 2016-05-03 08:53:15 +02:00