Files
tantivy/src/postings
Paul Masurel 3f448ecf79 Bugfix on intersection. (#2812)
The intersection algorithm made it possible for .seek(..) with values
lower than the current doc id, breaking the DocSet contract.

The fix removes the optimization that caused left.seek(..) to be replaced
by a simpler left.advance(..).

Simply doing so lead to a performance regression.
I therefore integrated that idea within SegmentPostings.seek.

We now attempt to check the next doc systematically on seek,
PROVIDED the block is already loaded.

Closes #2811

Co-authored-by: Paul Masurel <paul.masurel@datadoghq.com>
2026-01-27 09:21:09 +01:00
..
2024-10-22 09:26:54 +08:00
2026-01-14 10:19:09 +01:00
2024-10-21 18:29:17 +08:00
2024-10-22 09:26:54 +08:00
2024-04-09 07:54:44 +02:00