Files
tantivy/src
PSeitz 3bc177e69d fix #1151 (#1152)
* fix #1151

Fixes a off by one error in the stats for the index fast field in the multi value fast field.
When retrieving the data range for a docid, `get(doc)..get(docid+1)` is requested. On creation
the num_vals statistic was set to doc instead of docid + 1. In the multivaluelinearinterpol fast
field the last value was therefore not serialized (and would return 0 instead in most cases).
So the last document get(lastdoc)..get(lastdoc + 1) would return the invalid range `value..0`.

This PR adds a proptest to cover this scenario. A combination of a large number values, since multilinear
interpolation is only active for more than 5_000 values, and a merge is required.
2021-09-10 23:00:37 +09:00
..
2021-07-15 22:55:47 -04:00
2021-08-19 23:26:34 +01:00
2021-09-10 23:00:37 +09:00
2021-09-10 23:00:37 +09:00
2021-08-19 23:26:34 +01:00
2021-07-01 17:37:37 +02:00
2021-07-01 18:06:09 +02:00
2021-07-01 17:41:53 +02:00
2021-08-19 23:26:34 +01:00
2021-08-19 23:26:34 +01:00
2021-08-29 18:20:49 +09:00
2020-12-01 19:11:21 +09:00
2021-04-26 14:34:58 +09:00
2021-08-20 07:26:22 +01:00
2019-12-09 13:40:04 +09:00