nck-2 / test-rep

0 stars 0 forks source link

Query cache needs to be updated to work with rowids #1327

Open githubmanticore opened 1 year ago

githubmanticore commented 1 year ago

Query cache internal 'encoding' is heavily dependent of the ascending order of incoming docids. But query tree sorts matches by rowids, not by docids. Query cache needs to cache per-segment responses and work with rowids instead of docids.

githubmanticore commented 1 year ago

➤ Ilya Kuznetsov commented:

At least we could modify this encoding to handle negative deltas correctly.