tantivy/examples
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
..
aggregation.rs add memory limit for aggregations (#1942) 2023-03-16 06:21:07 +01:00
basic_search.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
custom_collector.rs Renaming .values(DocId) to .values_for_doc(DocId) (#1906) 2023-02-27 12:15:13 +09:00
custom_tokenizer.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00
date_time_field.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00
deleting_updating_documents.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
faceted_search.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
faceted_search_with_tweaked_score.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00
fuzzy_search.rs Clippy warnings fixes (#1885) 2023-02-20 19:04:13 +09:00
index_from_multiple_threads.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00
index_with_json.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00
integer_range_search.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
ip_field.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00
iterating_docs_and_positions.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
json_field.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
pre_tokenized_text.rs refactor tokenization pipeline to use GATs (#1924) 2023-03-09 09:39:37 +01:00
snippet.rs re-enable examples (#1860) 2023-02-10 14:51:37 +01:00
stop_words.rs refactor tokenization pipeline to use GATs (#1924) 2023-03-09 09:39:37 +01:00
warmer.rs update examples for literate docs (#1880) 2023-02-17 11:48:22 +01:00