tantivy/examples
Paul Masurel 63c66005db
Lazy scorers (#2726)
* Refactoring of the score tweaker into `SortKeyComputer`s to unlock two features.

- Allow lazy evaluation of score. As soon as we identified that a doc won't
reach the topK threshold, we can stop the evaluation.
- Allow for a different segment level score, segment level score and their conversion.

This PR breaks public API, but fixing code is straightforward.

* Bumping tantivy version

---------

Co-authored-by: Paul Masurel <paul.masurel@datadoghq.com>
2025-12-01 15:38:57 +01:00
..
aggregation.rs POC: Tantivy documents as a trait (#2071) 2023-10-02 10:01:16 +02:00
basic_search.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
custom_collector.rs cleanup top level exports (#2382) 2024-05-07 09:59:41 +02:00
custom_tokenizer.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
date_time_field.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
deleting_updating_documents.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
faceted_search.rs POC: Tantivy documents as a trait (#2071) 2023-10-02 10:01:16 +02:00
faceted_search_with_tweaked_score.rs compact doc (#2402) 2024-05-21 10:16:08 +02:00
filter_aggregation.rs feat: added filter aggregation (#2711) 2025-11-18 20:54:31 +01:00
fuzzy_search.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
index_from_multiple_threads.rs style: simplify strings with string interpolation (#2412) 2024-05-27 09:16:47 +02:00
index_with_json.rs POC: Tantivy documents as a trait (#2071) 2023-10-02 10:01:16 +02:00
integer_range_search.rs refactor fast field query (#2452) 2024-07-15 18:08:05 +08:00
ip_field.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
iterating_docs_and_positions.rs Reduce typo count. (#2510) 2024-10-10 09:55:37 +08:00
json_field.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
phrase_prefix_search.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
pre_tokenized_text.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
snippet.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
stop_words.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00
warmer.rs Lazy scorers (#2726) 2025-12-01 15:38:57 +01:00