Open githubmanticore opened 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.
➤ Ilya Kuznetsov commented:
At least we could modify this encoding to handle negative deltas correctly.
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.