Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.3
-
None
-
None
-
New
Description
The method org.apache.lucene.search.LRUQueryCache.CachingWrapperWeight.scorer(LeafReaderContext) starts with
if (context.ord == 0) {
policy.onUse(getQuery());
}
which can result in a missed call for queries that return a null scorer for the first segment.