PSeitz
2e369db936
switch to Aggregation without serde_untagged ( #2003 )
...
* refactor result handling
* remove Internal stuff
* merge different accessors
* switch to Aggregation without serde_untagged
* fix doctests
2023-04-25 08:54:51 +02:00
PSeitz
e522163a1c
use json in agg tests ( #1998 )
...
* switch to JSON in tests, add flat aggregation types
* use method
* clippy
* remove commented file
2023-04-17 14:08:48 +02:00
PSeitz
41af70799d
add percentiles aggregations ( #1984 )
...
* add percentiles aggregations
add percentiles aggregation
fix disabled agg benchmark
* Update src/aggregation/metric/percentiles.rs
Co-authored-by: Paul Masurel <paul@quickwit.io >
* Apply suggestions from code review
Co-authored-by: Paul Masurel <paul@quickwit.io >
* fix import
* fix import
---------
Co-authored-by: Paul Masurel <paul@quickwit.io >
2023-04-07 07:18:28 +02:00
PSeitz
5c4ea6a708
tokenizer option on text fastfield ( #1945 )
...
* tokenizer option on text fastfield
allow to set tokenizer option on text fastfield (fixes #1901 )
handle PreTokenized strings in fast field
* change visibility
* remove custom de/serialization
2023-03-31 10:03:38 +02:00
PSeitz
9e2faecf5b
add memory limit for aggregations ( #1942 )
...
* add memory limit for aggregations
introduce AggregationLimits to set memory consumption limit and bucket limits
memory limit is checked during aggregation, bucket limit is checked before returning the aggregation request.
* Apply suggestions from code review
Co-authored-by: Paul Masurel <paul@quickwit.io >
* add ByteCount with human readable format
---------
Co-authored-by: Paul Masurel <paul@quickwit.io >
2023-03-16 06:21:07 +01:00
PSeitz
61cfd8dc57
fix clippy ( #1927 )
2023-03-13 03:12:02 +01:00
PSeitz
c7278b3258
remove schema in aggs ( #1888 )
...
* switch to ColumnType, move tests
* remove Schema dependency in agg
2023-02-22 04:50:28 +01:00
PSeitz
bf1449b22d
update examples for literate docs ( #1880 )
2023-02-17 11:48:22 +01:00
trinity-1686a
3120147a76
re-enable examples ( #1860 )
2023-02-10 14:51:37 +01:00
Paul Masurel
bd5eea9852
Integrated columnar work.
2023-02-09 13:14:31 +01:00
Adrien Guillo
c51d9f9f83
Fix some Clippy warnings
2023-01-17 10:17:51 -05:00
PSeitz
ee1f2c1f28
add aggregation support for date type ( #1693 )
...
* add aggregation support for date type
fixes #1332
* serialize key_as_string as rfc3339 in date histogram
* update docs
* enable date for range aggregation
2022-11-28 09:12:08 +09:00
k-yomo
5b564916f0
Add support for keyed parameter in range and histgram aggregations
2022-07-26 04:28:21 +09:00
Pascal Seitz
44ea7313ca
set max bucket size as parameter
2022-05-13 13:21:52 +08:00
Pascal Seitz
ab6b532cc4
add comments
2022-04-14 12:06:36 +08:00
PSeitz
b105bf72e1
use defaults in meta.json ( #1310 )
...
This change allows to have unset fields in meta.json and fall back to their defaults
Currently it is required to explicitly put e.g. fieldnorms: false
2022-03-14 13:54:06 +09:00
Pascal Seitz
704498a1ac
rename IntOptions to NumericOptions
...
keep IntOptions with deprecation warning
Fixes #1286
2022-02-21 22:20:07 +01:00
PSeitz
972cb6c26d
Aggregation ( #1276 )
...
Added support for aggregation compatible with Elasticsearch's API.
2022-02-21 09:59:11 +09:00