#91 ✓resolved
Dmitriy Dzema

Allow to skip type restriction when performing faceting on class_name field

Reported by Dmitriy Dzema | March 11th, 2010 @ 01:25 PM

I want to do something like

Sunspot.search(Person) do
  keywords "sunspot"

  facet(:class, :exclude_type_restrictions => true)

To perform faceting for all models, not only the objects with type:Person.
This may be accomplished by tagging all type-restricting filter queries and removing them
from faceting part of query. Like the facet(:category, :exclude => category_restriction) does.

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