Support for facet.prefix
(copied from our conversation here: http://groups.google.com/group/ruby-sunspot/browse_thread/thread/8d...)
Hi, I'm wondering whether there are any plans for Sunspot to
facet prefixes - i.e. to limit the faceted terms to those starting
with a given string prefix?
I ask, because I am trying to implement an autocomplete feature,
depends on being able to search for terms that start with a given
prefix. It appears that Solr has this feature (via the facet.prefix
As per our mailing list discussion, I attach a trivial patch.
Comments and changes to this ticket
- State changed from new to resolved
(from [34a40235ed80f2e44ebfa60beb5524a2c049b87d]) Support for :prefix when faceting.