Active
Project:
Fivestar
Version:
7.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2012 at 20:26 UTC
Updated:
2 Oct 2013 at 16:45 UTC
Jump to comment: Most recent
so there's an excellent working code example for this at http://www.koumbit.org/en/articles/how-integrate-fivestar-ratings-apache...
how much of a leap would it be to build this into the module for d7 so that the five star ratings are properly passed through on vote submission and also exposed as one of the facets in solr settings?
Comments
Comment #1
ericduran commentedThis should be rather simple on the 7.x I believe. Fivestar are already fields, so it should be the same as display any other field in solr so you should be able to also added to the solr index, etc.
I personally haven't tried this but I think my assumption is correct.
Comment #2
zilla commentedyes, but oddly the five star field is not accessible as a facet in the solr search admin interface - any idea if its possible to have the module deliver this versus approaching it from solr?
Comment #3
ericduran commentedYea, I'll look into this. I don't see why not.
Comment #4
zilla commentedthanks eric.
Comment #5
BeaPower commentedany news?
Comment #6
Louis Bob commentedYes, I have the same need: I can't find the Fivestar fields listed with the Apache Solr facets fields...
Any news?
Comment #7
BeaPower commentedhow can this be integrated into search solr api?
Comment #8
strawman commentedWas there any progression on this. Still looking around for a way to do this. Not happening on my site yet.
Comment #9
zilla commentedthere are now a couple of folks working on this - google (because drupal site search is rough :) "fivestar search api" and "voting api solr" and you'll see two approaches, one is a live module with no current facet (it's in the plan) and the other is a sandbox specific to five star
the current problem is that even though you can expose the field for the index, it is not correctly counting results (just zero's), which renders it sort of worthless at a basic implementation.
would somebody consider wrapping the code at http://www.koumbit.org/en/articles/how-integrate-fivestar-ratings-apache... into a module for d7 and current fivestar for a bounty? if so, ping me via contact. i'd love to see it rolled into this project page for fivestar somehow!
Comment #10
NewZeal commentedIt appears that the suggestions on the link supplied at #9 apply to older versions of apachesolr module. hook_apachesolr_update_index() appears to be replaced by
Using the above two appears to expose the fivestar field, in this case called is_like.