rmuir commented on PR #12055:
URL: https://github.com/apache/lucene/pull/12055#issuecomment-1435417952

   I suggest an easy path to success here:
   * Keep the simple filter rewrite without crazy boolean auto-optimizations, 
that does what the javadocs in MultiTermQuery says it does and nothing more. It 
will be useful as a bailout, e.g. for NIOFS users, in case the crazy heuristics 
dont work well. It will also make testing easy: there have been iterations here 
that are clearly incorrect and yet no tests fail. 
   * add a new auto rewrite, but first look at why it failed and was removed 
before and try to learn from those lessons. It is ok, for it to be the new 
"default" rewrite method, once it it is baked.
   * fix TermInSetQuery to extend MultiTermQuery so we don't duplicate the 
horror-show twice.


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