Closed (fixed)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2010 at 17:35 UTC
Updated:
18 May 2011 at 00:42 UTC
Right now the has_filter method of the query class does not have an option to match the #exclude parameter of a filter, which seems like an API failure. This would be especially helpful for facet queries.
I propose that we add a 3rd param with a default NULL value. The behavior in the case of NULL would be like now - it matches either value of #exclude, but if it's set it would only return true if that value matches as well.
Comments
Comment #1
jpmckinney commentedFix in HEAD first
Comment #2
pwolanin commentedJust noticed this again when working on project_solr.
Comment #3
jpmckinney commentedComment #4
pwolanin commentedalready done in 7.x