OpenSearch/docs/reference
Martijn van Groningen 5705537ecf Added field stats api
The field stats api returns field level statistics such as lowest, highest values and number of documents that have at least one value for a field.

An api like this can be useful to explore a data set you don't know much about. For example you can figure at with the lowest and highest response times are, so that you can create a histogram or range aggregation with sane settings.

This api doesn't run a search to figure this statistics out, but rather use the Lucene index look these statics up (using Terms class in Lucene). So finding out these stats for fields is cheap and quick.

The min/max values are based on the type of the field. So for a numeric field min/max are numbers and date field the min/max date and other fields the min/max are term based.

Closes #10523
2015-04-23 08:52:34 +02:00
..
analysis Docs: Update pattern-replace-charfilter.asciidoc 2015-01-29 20:24:08 +01:00
cat Update indices.asciidoc 2015-04-04 16:50:04 +02:00
cluster Docs: Updated version annotations in master 2015-04-09 14:50:11 +02:00
docs Term Vectors: terms filtering 2015-04-14 19:11:09 +02:00
images fixing typo in expDecayFunction and adding offset to all dacay functions 2015-03-05 12:28:08 +01:00
index-modules [DOCS] Add example of setting disk threshold decider settings 2015-04-22 11:53:19 -06:00
indices Rest: Add json in request body to scroll, clear scroll, and analyze API 2015-04-22 17:53:20 +09:00
mapping [GEO] Prioritize tree_level and precision parameters over default distance_error_pct 2015-04-21 14:42:10 -05:00
migration Replace deprecated filters with equivalent queries. 2015-04-21 15:32:43 +02:00
modules Docs: Updated version annotations in master 2015-04-09 14:50:11 +02:00
query-dsl Replace deprecated filters with equivalent queries. 2015-04-21 15:32:43 +02:00
search Added field stats api 2015-04-23 08:52:34 +02:00
setup Doc: Change the wording a bit for the HOSTNAME environment variable 2015-04-17 10:24:50 +02:00
testing [DOCS] added instructions on how to write parameterized tests 2015-03-19 12:43:51 +01:00
analysis.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
api-conventions.asciidoc Docs: fix build. 2015-04-10 17:38:36 +02:00
cat.asciidoc [TEST] Add missing docs and tests for '_cat/segments' 2015-01-09 12:29:11 +01:00
cluster.asciidoc [DOCS] Fix HTTP endpoints after stats API changes 2014-01-09 11:30:28 +01:00
docs.asciidoc Bulk UDP: Removal. 2014-09-11 09:52:09 +02:00
getting-started.asciidoc [DOCS] added note about dynamic scriptings and updated links in getting started page 2015-03-19 15:22:39 +01:00
glossary.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
index-modules.asciidoc Docs: Use the new experimental annotation. 2015-02-05 15:29:45 +01:00
index.asciidoc Docs: Updated version annotations in master 2015-04-09 14:50:11 +02:00
indices.asciidoc Mappings: Remove delete mapping API 2015-03-24 09:46:02 -07:00
mapping.asciidoc Facets: Removal from master. 2014-08-21 10:34:39 +02:00
modules.asciidoc Remove references to the thrift and memcached transport plugins 2015-03-19 20:49:58 +01:00
query-dsl.asciidoc Facets: Removal from master. 2014-08-21 10:34:39 +02:00
search.asciidoc Added field stats api 2015-04-23 08:52:34 +02:00
setup.asciidoc Docs: Elasticsearch will refuse to start with a known bad JVM 2015-04-04 20:21:37 +02:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00