Closed (fixed)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2012 at 11:15 UTC
Updated:
9 Sep 2015 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rp7 commentedOh btw, I solved the linked issue within Drupal, by not using a FilterSubQuery, but by just adding a normal fq Filter and somewhat abuse it:
Comment #2
pwolanin commentedWell, I can see where that might be a useful feature. I guess we'd need to add another property to the subquery object class and/or take in another param to the constructor.
Comment #3
pwolanin commentedComment #4
geertvd commentedI needed this feature so wrote a patch to add this.
Comment #5
nick_vhCan you add a better explanation what to expect? Something along the likes of "Expect the exclusion of the bar and baz label".
Also, when talking to you, you explained you wanted to exclude empty fields. Is that a useful example to add here also?
Comment #6
geertvd commentedThe use case I was talking about is explained here http://stackoverflow.com/questions/634765/using-or-and-not-in-solr-query/
I'll add that to the test later and add some more comments explaining the reasoning.
Unless there is a better way to do this kind of query off course.
Comment #7
geertvd commentedAdded the logic explained in http://stackoverflow.com/questions/634765/using-or-and-not-in-solr-query/ and changed my assert message.
Comment #9
nick_vh