Hi,
Started from a patch for apache sorl that fix the problem with OR facets not showing correctly: http://drupal.org/node/920892
Could this also be implemented for the ubercart apache module?
Basically when you set your facet operation to OR, it is supposed to search for an item OR another item, like mentioned in link above, solr search still combines your search results and hides all "none" matching filters.
This patch above only was created for taxonomies as you can see, so this works correct like he explains, now i want to have this fix also for the Price filter.
If i now filter for example price 20€-40€, and my facet operator is set to OR, this only will show the taxonomy filters that fall under the price 20-40€, but i want it to still show all others filter, cause everything is set to OR.
to provide another example: when i have these filters set in the url:
?filters=fs_uc_sell_price%3A[20 TO 39.99] tid%3A7
This will return a result cause there is an item that has the tid=7 and has a price between 20-40
But when i change the url for example to:
?filters=fs_uc_sell_price%3A[20 TO 39.99] tid%3A5
This brings me to en empty page with no filters shown at all. because here there is no item with tid=5 and price between 20-40. Like said: AND.. but i set the operators to OR, so it must result me all items with tid=5 and all items with price 20-40.
i use latest 6.x-2.0-beta5 version of apachesolr search
I hope you understand my explanation. Thanks already for somebody who can look after this!
Comments
Comment #1
timmetj commented