OpenSearch/docs/reference
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 Add the ability to use the breadth_first mode with nested aggregations (such as `top_hits`) which require access to score information. 2016-05-04 15:35:45 +02:00
analysis First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
cat Merge branch 'pr/18068' 2016-05-10 08:27:43 -06:00
cluster Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
docs Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
images Updated decay-function image in function_score query 2016-04-20 13:37:52 +02:00
index-modules Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
indices Add missing comma in JSON data in curl example 2016-05-09 21:20:37 -04:00
ingest Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
migration Make significant terms work on fields that are indexed with points. #18031 2016-05-11 16:52:58 +02:00
modules Switch over dynamic method calls, loads and stores to invokedynamic. 2016-05-09 21:44:32 -04:00
query-dsl Update full-text-queries.asciidoc 2016-05-10 12:18:21 +02:00
release-notes Added release notes for 5.0.0-alpha2 2016-05-02 14:21:59 +02:00
search Fix minor typo (#18222) 2016-05-10 09:39:42 +02:00
setup Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
testing Docs: Fix nodeSettings example for integ tests to use correct Settings.Builder reference 2015-12-17 23:17:17 -08:00
aggregations.asciidoc Merge pull request #16741 from blachniet/patch-1 2016-03-02 10:57:56 +01:00
analysis.asciidoc First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
api-conventions.asciidoc Revert IPv6 here 2016-04-27 08:07:44 -07:00
cat.asciidoc Add support for documented byte/size units and for micros as a time unit in _cat API 2016-04-15 20:55:41 +02:00
cluster.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
docs.asciidoc Docs: Display reindex/update by query API and fix build doc issue 2016-03-18 10:44:16 +01:00
getting-started.asciidoc Docs: Update example aggs to use dynamic keyword field 2016-04-22 16:34:15 -07:00
glossary.asciidoc Improve glossary to not refer to types as "like a table" (#17704) 2016-04-13 14:29:47 +02:00
index-modules.asciidoc Fix fallback setting for two get/2 2016-04-22 11:10:01 -04:00
index.asciidoc Bumped docs version 2016-05-03 15:35:33 +02:00
indices.asciidoc Remove warmers and the warmer API. 2016-01-07 09:57:07 +01:00
ingest.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
modules.asciidoc Reorganise scripting docs (#18132) 2016-05-04 18:17:10 +02:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
release-notes.asciidoc Added release notes for 5.0.0-alpha2 2016-05-02 14:21:59 +02:00
search.asciidoc Add documentation for global search timeout 2016-01-07 10:42:18 -05:00
setup.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00