cpoerschke opened a new pull request #737:
URL: https://github.com/apache/lucene/pull/737


   Draft pull request only for today, no JIRA issue as yet, and not yet fully 
analysed things but from code reading it seems the query rewrite and term 
collecting need not happen in a loop?
   
   The 
https://github.com/apache/lucene/commit/81c7ba4601a9aaf16e2255fe493ee582abe72a90
 change included
   
   ```
   - final SpanQuery rewrittenQuery = (SpanQuery) 
spanQuery.rewrite(getLeafContextForField(field).reader());
   + final SpanQuery rewrittenQuery = (SpanQuery) 
spanQuery.rewrite(getLeafContext().reader());
   ```
   
   as a change i.e. previously more needed to happen in the loop.


-- 
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

Reply via email to