Support for facet.prefix
Reported by kieran | February 22nd, 2010 @ 04:09 PM | in Feature Requests
(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
support
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,
which
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
parameter):
http://wiki.apache.org/solr/SimpleFacetParameters#facet.prefix
As per our mailing list discussion, I attach a trivial patch.
Comments and changes to this ticket
-

mat March 22nd, 2010 @ 02:50 PM
- State changed from new to resolved
(from [34a40235ed80f2e44ebfa60beb5524a2c049b87d]) Support for :prefix when faceting.
[#74 state:resolved] http://github.com/outoftime/sunspot/commit/34a40235ed80f2e44ebfa60b...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Awesome Solr interaction for Ruby
Attachments
Referenced by
-
#74 Support for facet.prefix
[#74
state:resolved]
http://github.com/outoftime/sunspot...