Docs: Add links to the equivalent aggs in facets documentation.

This commit is contained in:
Adrien Grand 2014-07-28 15:22:09 +02:00
parent 162200f6ed
commit 1fe76b891b
9 changed files with 38 additions and 0 deletions

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-datehistogram-aggregation,`date_histogram`>>
aggregation.
A specific histogram facet that can work with `date` field types
enhancing it over the regular
<<search-facets-histogram-facet,histogram

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-filter-aggregation,`filter`>>
aggregation.
A filter facet (not to be confused with a
<<search-facets,facet filter>>) allows you to
return a count of the hits matching the filter. The filter itself can be

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-geodistance-aggregation,`geo_distance`>>
aggregation.
The geo_distance facet is a facet providing information for ranges of
distances from a provided geo_point including count of the number of
hits that fall within each range, and aggregation information (like

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-histogram-aggregation,`histogram`>>
aggregation.
The histogram facet works with numeric data by building a histogram
across intervals of the field values. Each value is "rounded" into an
interval (or placed in a bucket), and statistics are provided per

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: There is no equivalent aggregation but you can use the
<<search-aggregations-bucket-filter-aggregation,`filter`>> aggregation and wrap
the query inside a <<query-dsl-query-filter,query filter>>.
A facet query allows to return a count of the hits matching the facet
query. The query itself can be expressed using the Query DSL. For
example:

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-range-aggregation,`range`>>
aggregation.
`range` facet allows to specify a set of ranges and get both the number
of docs (count) that fall within each range, and aggregated data either
based on the field, or using another field. Here is a simple example:

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-metrics-stats-aggregation,`stats`>>
aggregation.
Statistical facet allows to compute statistical data on a numeric
fields. The statistical data include count, total, sum of squares, mean
(average), minimum, maximum, variance, and standard deviation. Here is

View File

@ -3,6 +3,10 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-terms-aggregation,`terms`>>
aggregation.
Allow to specify field facets that return the N most frequent terms. For
example:

View File

@ -3,6 +3,12 @@
include::deprecated.asciidoc[]
NOTE: The equivalent aggregation would be the
<<search-aggregations-bucket-terms-aggregation,`terms`>>
aggregation with an inner
<<search-aggregations-metrics-stats-aggregation,`stats`>>
aggregation.
The `terms_stats` facet combines both the
<<search-facets-terms-facet,terms>> and
<<search-facets-statistical-facet,statistical>>