Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
-
New
Description
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.
Attachments
Attachments
Issue Links
- is superceded by
-
LUCENE-3451 Remove special handling of pure negative Filters in BooleanFilter, disallow pure negative queries in BooleanQuery
- Closed