Closed (fixed)
Project:
Project ApacheSolr integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
31 Oct 2012 at 16:17 UTC
Updated:
4 Jan 2014 at 02:42 UTC
Jump to comment: Most recent
Comments
Comment #1
dwwThis stuff is all a D6 hack. There's this notion in D6 that certain vocabs are "related" to only certain project types (using that monster D6 "Projects" vocab where the top-level terms are project type and the sub terms are categorization for each type). Basically, this lets you configure certain vocabs to only appear on project nodes with a certain top-level term.
None of this insanity is needed in D7. Since each top-level project type is a separate node type, each can just cleanly have its own vocabularies. So, instead of anything related to this mess, I think you just want to look at each of the vocabs on each project node type and Do The Normal Thing(tm). Maybe project_solr doesn't actually have to do anything at all here, and the default solr indexing will Just Work(tm)?
Comment #2
jhedstromI've temporarily commented out this function (see 8fff03a) so that the rest of the search functionality can be tested. It remains to be decided what, if any of the logic in hook_apachesolr_query_alter() is still needed.
Comment #3
jhedstromnot sure why the tags went missing.
Comment #4
drummtag
Comment #5
drummTaking this.
Comment #6
drummYep, it is unnecessary. I got project taxonomy filtering working on the main site search without this code, which I deleted.