Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

In construction...!


fields=chromosome>>type

List of facet fields separated by semicolons, e.g.: studies;type. For nested faceted fields use >>, e.g.: chromosome>>type;percentile(gerp)

query

Ranges

When asking for ranges, the result contains multiple buckets over a numeric field. You must specify the field name, the lower and upper bounds and the gap or bucket size.

Range specification
field_name[start..end]:step

E.g.: gerp[0..5]:0.2

Range parameters:

ParameterDescription

field_name

The numeric field name to produce range buckets from.

start

Lower bound of the ranges.

end

Upper bound of the ranges.

step

Size of each range bucket produced.


Aggregation functions

Aggregation functions, also called facet functions, analytic functions, or metrics, calculate something interesting over a domain (each facet bucket).

Aggregation specification
aggregation_function(field_name)

List of aggregation functions:

Aggregation functionDescriptionExample

avg

Average of numeric values

avg(gerp)

min

Minimum value

min(sift)

max

Maximum value

max(caddScaled)

unique

Number of unique values

unique(biotypes)

hll

Distributed cardinality estimate via hyper-log-log algorithm

hll(type)

percentile

Percentile estimates via t-digest algorithm. Calculate the percentiles: 1, 10, 25, 50, 75, 90 and 99th.

percentile(gerp)

sumsq

Sum of squares of field or function

sumsq(caddRaw)


Nested facets

Nested facets allow users to nest bucketing terms, ranges or aggregations. In order to specify nested facets you must use the symbols: >>

Some examples:


chromosome>>type

chromosome[1,2,3,4]>>type>>gerp[0..5]:0.25






  • No labels