How do I set up a facet search with a many to many relationship using Sunspot?
问题 I haven't implemented a search feature before and feel a bit stuck. I have a Sunspot search feature which finds results based on keywords - this works great - but I now want to implement the multi select facet feature, but I can't even seem to figure out how to set-up a basic facet search. I have a many to many relationship (in rails not in real life): Class People has_many :skills, :through => experience (and vice versa etc) Class People < ActiveRecord::Base has_many :skills, :through =>