#74 ✓resolved

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


As per our mailing list discussion, I attach a trivial patch.

Comments and changes to this ticket

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.

New-ticket Create new ticket

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

People watching this ticket



Referenced by