Loading...
 
Skip to main content

History: Date-based aggregations

Source of version: 9 (current)

Copy to clipboard
             # Date-based aggregations

New in ((Tiki20)), this requires ((Elasticsearch))

This adds new facets to the ((Faceted search))

Admin panel -> Search -> Search Results

{img src="display1596" link="display1596" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}

## Demo of Date Facets in Charts

The two lower charts on ((PluginCustomSearch Chart Examples)) are based on these aggregations.


Todo: document better

- Two new date based aggregations (a.k.a. facets) [http://sourceforge.net/p/tikiwiki/code/68499|in this commit]: [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-daterange-aggregation.html|ranges] and [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html|histograms]

## Examples

- ((dev:Wish Report))

## See also

- ((Grouped Data))
- ((Derived Attribute of a date))