zacharymorn commented on PR #12194: URL: https://github.com/apache/lucene/pull/12194#issuecomment-1499988872
Thanks @mikemccand for the additional context! > Thanks for testing this. We've debated the merits of disabling background compilation (-Xbatch) in the past, but decided it's too risky since nobody actually runs this way in production so the results would not necessarily reflect production impact. +1 > Though, I would also expect that as you vary the particular query (apr, jan, may on the negated clause) that the gains should be quite different? It depends heavily on how the postings fall into long runs or not in the index? Though, the line file docs for luceneutil are randomly sorted, so there should not be a correlation by time with Lucene's docid. The benchmark was run with index [sorted by `month`](https://github.com/mikemccand/luceneutil/pull/213/files#diff-3b6f78071246c9809f9030620a80537bee34b2704f6456d01339a2246ca24762R28) and the performances gain do vary based on queries (149.9% for `apr`, 56.8% for `may` and 37.5% for `jan`), albeit with different degrees. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org