Adrien Grand
jpountz.bsky.social
Adrien Grand
@jpountz.bsky.social
#Lucene developer
Good question, I don't have a good intuition for how much comes from SIMD vs. the rest. I could run benchmarks by disabling SIMD instructions.
September 14, 2025 at 11:36 AM
This is the case here: filtered term queries get a slowdown but they are still pretty fast, while harder queries like OrHighHigh (top-level disjunctive query) or FilteredOrHighHigh (likewise but with a filter) get faster.
September 11, 2025 at 1:57 PM
In case you wonder how Lucene decides whether a change is good when there is a mix of speedups and slowdowns, the general rule is that it's better to make the slow queries faster and the fast queries slower than the other way around as this results in lower tail latencies.
September 11, 2025 at 1:57 PM
A: The "if score >= minRequiredScore" branch is hard to predict, so this loop is expensive. This small refactoring helped the JVM take advantage of the cmov (conditional move) instruction and make this code branchless.
July 9, 2025 at 6:31 AM
We're now further taking advantage of it by amortizing the cost of some operations across many doc IDs github.com/apache/lucen... or better vectorizing/pipelining other operations github.com/apache/lucen.... Expect a new round of query evaluation speedups in 10.3.
Pre-calculate minRequiredScore to speedup filterCompetitiveHits by HUSTERGS · Pull Request #14827 · apache/lucene
Description This PR propose to specialize function filterCompetitiveHits when we have exact 2 scorers, in order to reduce float calculation and potential function calls Luceneutil result on wikimed...
github.com
July 4, 2025 at 11:29 AM
Thank you Alex
June 26, 2025 at 3:39 PM
Not that I know of. But we need this kind of benchmark indeed.
June 26, 2025 at 11:17 AM