You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #13199, we add isEstimatedPointCountGreaterThanOrEqualTo to dynamic pruning in the point value, there also too many functions call estimatePointCount directly, dynamic pruning is not used.
kkewwei
changed the title
Pruning of estimating the point value count from BooleanScorerSupplier
Pruning of estimating the point value count since BooleanScorerSupplier
Jul 9, 2024
The idea makes sense to me, but I worry that it wouldn't look good API-wise. I also imagine that the gains would be lower than in #13199 since Weight#scorerSupplier is called one time per segment while comparators used to estimate the point count multiple times per segment.
Description
In #13199, we add
isEstimatedPointCountGreaterThanOrEqualTo
to dynamic pruning in the point value, there also too many functions callestimatePointCount
directly, dynamic pruning is not used.lucene/lucene/core/src/java/org/apache/lucene/index/PointValues.java
Line 387 in 295c5d3
One of my ideas is pruning since BooleanScorerSupplier:
lucene/lucene/core/src/java/org/apache/lucene/search/BooleanScorerSupplier.java
Line 318 in 295c5d3
The example is as follow:
If it's a good idea, if is, I'm pleasure to implement.
The text was updated successfully, but these errors were encountered: