[ https://issues.apache.org/jira/browse/LUCENE-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113372#comment-13113372 ]
Uwe Schindler commented on LUCENE-3450: --------------------------------------- >From your example patch, i see only MUST_NOT clauses. This cannot work. As I was working on BooleanFilter yesterday, I know that BooleanFilter has a hack to support pure-negative queries. BooleanQuery with only negative clauses always returns no results (I was thinking about removing the stupid hack in BF, because it cannot correctly handle deleted docs.... - its still there because backwards compatibility) > BooleanQuery seems broken on trunk > ---------------------------------- > > Key: LUCENE-3450 > URL: https://issues.apache.org/jira/browse/LUCENE-3450 > Project: Lucene - Java > Issue Type: Bug > Reporter: Karl Wright > Attachments: filter.diff, query.diff > > > Converting a Solr SearchComponent from using filters to using equivalent > queries causes its test cases to fail. The reasons are unclear, and I've > tried several things to isolate the problem, but with no luck so far. > The failure manifests itself by the constructed query returning no documents > whatsoever, at least within the Solr context it's being used in. The > equivalent filter version of the component works properly (as you can see by > the passed test). > To run the test: > cd solr/contrib/mcf > ant test > I will attach both filter and query versions of the code, as patches. -- This message is automatically generated by JIRA. 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