Evance Soumaoro
a4be239d38
Updated DateTime to hold timestamp in microseconds, while making date field precision configurable ( #1396 )
2022-07-12 10:04:28 +09:00
Pascal Seitz
1bd44a5f61
use total_cmp
2022-07-04 12:48:23 +08:00
PSeitz
db1836691e
fix visibility ( #1398 )
2022-06-28 16:21:39 +09:00
PSeitz
6ca5f77466
Merge pull request #1363 from quickwit-oss/refactor_aggregation
...
Add aggregation bucket limit
2022-06-23 10:27:57 +08:00
Ryan Russell
ca836b6414
Improve Docs Readability ( #1380 )
...
Signed-off-by: Ryan Russell <git@ryanrussell.org >
2022-06-02 09:32:57 +09:00
Pascal Seitz
71f75071d2
cache and return error in aggregations
2022-05-19 16:58:56 +08:00
Pascal Seitz
b114e553cd
Revert "return result from segment collector"
...
This reverts commit a99e5459e3 .
2022-05-19 16:57:55 +08:00
Pascal Seitz
17dcc99e43
Revert "introduce optional collect_block in segmentcollector"
...
This reverts commit c5c2e59b2b .
2022-05-19 16:25:21 +08:00
Pascal Seitz
c5c2e59b2b
introduce optional collect_block in segmentcollector
...
add collect_block in segment_collector to handle groups of documents as performance optimization
add collect_block for MultiCollector
2022-05-19 16:23:25 +08:00
Pascal Seitz
44ea7313ca
set max bucket size as parameter
2022-05-13 13:21:52 +08:00
Pascal Seitz
11ac451250
abort aggregation when too many buckets are created
...
Validation happens on different phases depending on the aggregation
Term: During segment collection
Histogram: At the end when converting in intermediate buckets (we preallocate empty buckets for the range) Revisit after #1370
Range: When validating the request
update CHANGELOG
2022-05-12 12:26:43 +08:00
Pascal Seitz
6a4632211a
forward error in aggregation collect
2022-05-12 12:26:43 +08:00
Pascal Seitz
a99e5459e3
return result from segment collector
2022-05-12 12:26:43 +08:00
Pascal Seitz
3f88718f38
refactor aggregations
2022-05-12 12:26:43 +08:00
Pascal Seitz
d77e8de36a
flip alias variable name
2022-05-06 17:52:36 +08:00
Pascal Seitz
d11a8cce26
minor docs fix
2022-05-06 17:52:36 +08:00
Pascal Seitz
bc607a921b
add alias shard_size split_size for quickwit
...
improve some docs
2022-05-06 17:52:36 +08:00
Paul Masurel
02e24fda52
Clippy fix
2022-05-04 12:24:07 +09:00
Pascal Seitz
fdb2524f9e
minor docs fixes
2022-05-02 12:26:12 +08:00
Pascal Seitz
c45eb9a9fa
improve readability, add json test
2022-04-26 11:22:34 +08:00
Pascal Seitz
2805291400
minor fixes
2022-04-20 14:22:44 +08:00
Pascal Seitz
6614a2cba0
fix is_fast for bytes field
2022-04-20 12:02:38 +08:00
Pascal Seitz
6f4d203d1b
return error on missing sub aggregation
2022-04-20 11:19:36 +08:00
Pascal Seitz
1be6c6111c
support order property on term aggregations
...
support order property on term aggregations
order can be by doc_count, key, or a metric sub_aggregation
2022-04-20 00:34:38 +08:00
Pascal Seitz
ec69875d15
fix collecting term_dict field names
...
fix collecting term_dict field names for sub_aggregations, minor refactoring
2022-04-15 17:49:20 +08:00
Pascal Seitz
ab6b532cc4
add comments
2022-04-14 12:06:36 +08:00
Pascal Seitz
4b6047f7d7
return Option from as_ methods
2022-04-14 10:48:36 +08:00
Pascal Seitz
5ca04beb94
add min_doc_count test
2022-04-13 19:51:18 +08:00
Pascal Seitz
902d05ebec
refactor getffreader function
2022-04-13 19:51:18 +08:00
Pascal Seitz
f1b298642a
remove unnecessary benchmarks
2022-04-13 19:51:18 +08:00
Pascal Seitz
dd13dedaeb
forward errors, remove unwrap
2022-04-13 19:51:18 +08:00
Pascal Seitz
46724b4a05
add segment_size, add get term dict fields, add tests
2022-04-13 19:51:18 +08:00
Pascal Seitz
24432bf523
add term aggregation
2022-04-13 19:51:18 +08:00
Pascal Seitz
8807bfd13d
fast field on string
...
enables FAST on string fields, which creates a fastfield containing the term ordinals
2022-03-29 12:40:10 +08:00
PSeitz
f29acf5d8c
fix clippy ( #1321 )
2022-03-22 12:48:23 +09:00
Paul Masurel
46d5de920d
Removes all usage of block_on, and use a oneshot channel instead. ( #1315 )
...
* Removes all usage of block_on, and use a oneshot channel instead.
Calling `block_on` panics in certain context.
For instance, it panics when it is called in a the context of another
call to block.
Using it in tantivy is unnecessary. We replace it by a thin wrapper
around a oneshot channel that supports both async/sync.
* Removing needless uses of async in the API.
Co-authored-by: PSeitz <PSeitz@users.noreply.github.com >
2022-03-18 16:54:58 +09:00
PSeitz
d2a7bcf217
fix fmt ( #1317 )
2022-03-18 15:53:27 +09:00
PSeitz
141b9aa245
Merge pull request #1306 from PSeitz/histogram
...
add Histogram aggregation
2022-03-18 05:03:46 +01:00
PSeitz
c5a6282fa8
Update src/aggregation/bucket/histogram/histogram.rs
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-03-18 04:55:31 +01:00
PSeitz
c0f524e1a3
Update src/aggregation/bucket/histogram/histogram.rs
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-03-18 04:55:25 +01:00
Pascal Seitz
f619658e2c
rename
2022-03-17 16:37:57 +08:00
Pascal Seitz
aa391bf843
refactor parameters
2022-03-17 16:28:37 +08:00
Pascal Seitz
47dcbdbeae
handle empty results, empty indices, add tests
2022-03-17 10:24:34 +08:00
Pascal Seitz
691245bf20
make code more concise
2022-03-16 14:21:58 +08:00
Pascal Seitz
90798d4b39
address comments, add single bucket test
2022-03-16 13:58:13 +08:00
Pascal Seitz
0b6d9f90cf
improve docs
2022-03-16 12:39:26 +08:00
Pascal Seitz
e73542e2e8
Elasticsearch behaviour on hard/extended_bounds
2022-03-15 16:46:45 +08:00
Pascal Seitz
0262e44bbd
merge_fruits pass by value
2022-03-15 12:59:22 +08:00
Pascal Seitz
613aad7a8a
vec optional, improve performance
2022-03-14 21:29:07 +08:00
Pascal Seitz
1aa88b0c51
improve performance
2022-03-14 20:28:08 +08:00