Serge Huber created UNOMI-1022:
----------------------------------

             Summary: Document IP range aggregates and the special counts in 
aggregate results
                 Key: UNOMI-1022
                 URL: https://issues.apache.org/jira/browse/UNOMI-1022
             Project: Apache Unomi
          Issue Type: Task
            Reporter: Serge Huber
             Fix For: unomi-4.0.0


h3. Summary

The "Queries and aggregations" page of the manual lists IP range among the 
supported aggregations but has no IP range section. It also never explains how 
to read aggregate results:
* The special keys: {{_all}} (items of the type in the current tenant, only on 
the non-optimized path), {{_filtered}} (items matching the condition) and 
{{_missing}} (items without the field).
* Bucket keys: a range's own key when set, otherwise {{from-to}} with {{*}} for 
an open bound. For IP ranges, the key of the range whose bounds match.
* Range bounds: {{from}} is inclusive and {{to}} is exclusive.

The accepted date intervals are not listed either.

h3. Ways to explore

Add an IP range example next to the existing date and numeric range examples, a 
short "Reading the results" part covering the keys above, and the list of 
accepted date intervals.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to