[ https://issues.apache.org/jira/browse/LUCENE-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-4235: ---------------------------------- Attachment: LUCENE-4235.patch Easy patch, simplification. Will commit soon! > Remove enforcing of Filter Rewrite for NRQ queries > -------------------------------------------------- > > Key: LUCENE-4235 > URL: https://issues.apache.org/jira/browse/LUCENE-4235 > Project: Lucene - Java > Issue Type: Improvement > Components: core/search > Reporter: Uwe Schindler > Assignee: Uwe Schindler > Fix For: 4.0, 5.0 > > Attachments: LUCENE-4235.patch > > > Back in Lucene 2.9, I hardcoded NRQ to always use filter rewrite based on the > precisionStep. This is bogus and contradicts our autodetection (which may > need some overhaul now in Lucene 4.0). > If a query rewrites to only one term, using filter rewrite is stupid and > slows down a lot, it can do a simple CSQ(TermQuery()) which is incredibly > fast. > This issue will remove the line from the CTOR. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org