mayya-sharipova opened a new pull request, #14169:
URL: https://github.com/apache/lucene/pull/14169

   When there are big number of contexts, ContextQuery may take a 
   lot of time because of how context automata are constructed. 
   Instead of the current approach of repeatedly concatenating and unioning 
   context automata, this PR first constructs all individual context automata
   and then does one single union at the end.
   
   Thus for the added test with 1000 contexts, the performance improved from 
4000 ms to 18 ms.


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