You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/02/01 12:01:34 UTC

[GitHub] [lucene] romseygeek commented on pull request #634: LUCENE-10399: Handle large boolean expressions better in flexible query parser

romseygeek commented on pull request #634:
URL: https://github.com/apache/lucene/pull/634#issuecomment-1026767530


   > This isn't a safe optimization though, it changes ranking.
   
   Adrien and I were talking about trying to do this kind of thing as part of query rewrites and got blocked by having to deal with scoring.  Maybe we could add a ScoreMode parameter to `rewrite()`, and then do this directly in BooleanQuery? ie if you have a bunch of OR clauses that are all Term queries and you know that you don't need scores you can directly rewrite to a TermInSetQuery.


-- 
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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org