Reviewed & tested by the community
Project:
Apache Solr Multisite Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2010 at 14:14 UTC
Updated:
15 Aug 2016 at 15:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
atomicjeep commentedCan anyone else confirm this behaviour? Or is it an issue for the main Apache Solr Search Module?
Comment #2
drupalgideonYes I can confirm I'm not getting the blocks to show either.
Comment #3
atomicjeep commentedFinally got back to investigating this problem, setup two D6 sites with CCK & Solr Search + Multisite Search. New empty Solr Core - connected them, indexed. Enabled the multisite facets & blocks - added them to the pages. The multisite search itself is ok just no facets to filter on....
Stumped! Willing to sponsor development of this module if anyone can help please get in touch
Comment #4
walkah commentedI can confirm this behaviour - looks like in the hook_block() implementation, there's some missing code to handle things like taxonomy term facets. working on a patch to post shortly...
Comment #5
walkah commentedadded a patch for taxonomy vocabulary facets... not totally happy with the block title code, but it works.
Comment #6
pwolanin commentedI think the meta data doc should have the real names?
Comment #7
pwolanin commentedActually, looking at the code, I'm not 100% sure we are storing the non-munged version in the meta data. If we are not, we shoudl be, and maybe in a more accessible form.
Comment #8
atomicjeep commentednice one, thanks walkah that works for me. Although there's still a remaining issue that plagued the Apache Solr Search Integration module too. The length of the block delta field is to long and I'm getting error messages on the Block admin page - Duplicate Entry....
http://drupal.org/node/344249
I'm not that familiar with either of these modules to attempt a patch myself, should I file this as a separate issue?
thanks all for your help - MUCH appreciated!
Comment #9
Sylvain_G commented#5 works for me
Comment #10
juampynr commentedHere is an alternative approach: Apache Solr Multisite Search implements hook_facetapi_facet_info(). By adding vocabulary facets here we get automatically a working facet at the Solr environment settings with its respective block at the Block Administration.
Here are a few facets generated by the patch at http://somesite.local/admin/config/search/apachesolr/settings/solr/facets:
Then, we can enable these facets at the Block Administration:
Finally, we can see the facets at search/content. In this example, Event type and News type are vocabularies/taxonomies:
Comment #11
juampynr commentedComment #13
juampynr commentedUpgrading issue version to 7.x-1.x
Comment #15
dave reid"per taxonomy term" does not seem to match what is happening here. Should it be "per vocabulary"?
Comment #17
juampynr commentedAdjusted comment as suggested.
Comment #18
njbooher commented