OpenSearch/rest-api-spec/api
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
..
bulk.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.allocation.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.count.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.fielddata.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.health.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.help.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.indices.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.master.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.nodes.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.pending_tasks.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.plugins.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.recovery.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.segments.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.shards.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.thread_pool.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
clear_scroll.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.get_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.health.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.pending_tasks.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.put_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.reroute.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.state.json Cluster state REST api: routing_nodes as an independent metric option 2015-04-08 15:35:11 +02:00
cluster.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
count.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
count_percolate.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_by_query.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
explain.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
field_stats.json Added field stats api 2015-04-23 08:52:34 +02:00
get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_source.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
index.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.analyze.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.clear_cache.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.close.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.create.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_type.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.flush.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_field_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_upgrade.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.open.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.optimize.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.recovery.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.refresh.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.segments.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.update_aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.upgrade.json Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded 2015-04-16 05:24:33 -04:00
indices.validate_query.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
info.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mget.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mlt.json Search: Remove the `count` search type. 2015-03-31 11:31:49 +02:00
mpercolate.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
msearch.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mtermvectors.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.hot_threads.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.info.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.shutdown.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
percolate.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
ping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
put_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
put_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
scroll.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_shards.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.create.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.create_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.delete_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.get_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.restore.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.status.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.verify_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
suggest.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
termvectors.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
update.json Make sure that the parent option on the update request only is delgated to upsert index request. 2015-03-28 08:53:11 +01:00