guptashivam04 commented on PR #69854:
URL: https://github.com/apache/doris/pull/69854#issuecomment-7276799820

   Thanks, @airborne12. Done: the PR now changes only the read path, and the 
index formats are unchanged.
   
   - Kept: the cached norm length sums (`NormLengthSums`, with the CLucene and 
SNII searcher cache values) and the CLucene norm reads with the query's I/O 
context (`DorisCompoundReader::ScopedIOContext`).
   - Dropped: the CLucene `delete_sign_rows` sub-file, the SNII 
`delete_sign_rows` section and its proto field, indexing delete-sign rows 
without terms, and the compaction and BUILD INDEX changes. 
`collect_hidden_docs` is master's code again, so the statistics still read the 
delete-sign column per query; I'll take that up in a separate follow-up.
   
   The diff went from 58 files to 15. `test_bm25_score_delete_sign_statistics` 
still checks on V2, V3 and SNII that rows score as in a table holding only the 
returned rows, after loads, compactions and BUILD INDEX, and now queries each 
table twice so that the second query uses the cached sums. I updated the title, 
description and release note, with new measurements against current master 
(statistics of a repeated query: 44.6 → 7.9 ms on SNII, 60.8 → 13.8 ms and 
199.8 → 26.3 ms on CLucene V2).
   
   Could you trigger `run buildall` when you have a moment?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to