Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
The https://github.com/apache/lucene/commit/81c7ba4601a9aaf16e2255fe493ee582abe72a90 change in LUCENE-4728 included
- final SpanQuery rewrittenQuery = (SpanQuery) spanQuery.rewrite(getLeafContextForField(field).reader()); + final SpanQuery rewrittenQuery = (SpanQuery) spanQuery.rewrite(getLeafContext().reader());
i.e. previously more needed to happen in the loop but now the query rewrite and term collecting need not happen in the loop.
Attachments
Issue Links
- is related to
-
LUCENE-4728 Allow CommonTermsQuery to be highlighted
- Closed
- relates to
-
LUCENE-10477 SpanBoostQuery.rewrite was incomplete for boost==1 factor
- Resolved
- links to