[ https://issues.apache.org/jira/browse/LUCENE-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499921 ]
Doug Cutting commented on LUCENE-698: ------------------------------------- > Maybe Query.setBoost() should throw an IllegalArgumentException in case the > value is zero? FYI, Nutch uses Query.setBoost(0.0f) to add clauses which affect the set of results but not their ranking. In particular, it uses this to automatically convert query clauses into filters, so that query clauses like "lang:en" can be implemented as cached filters. Note that not all such clauses are so optimized. http://svn.apache.org/viewvc/lucene/nutch/trunk/src/java/org/apache/nutch/searcher/LuceneQueryOptimizer.java?view=markup > FilteredQuery ignores boost > --------------------------- > > Key: LUCENE-698 > URL: https://issues.apache.org/jira/browse/LUCENE-698 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.0.0 > Reporter: Yonik Seeley > Assignee: Michael Busch > Priority: Minor > Attachments: lucene-698.patch > > > Filtered query ignores it's own boost. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]