Need help working with facets using tire gem in Ruby on Rails for elasticsearch

(saivadavalli) #1

I am newbie trying to implement elasticsearch in my web application. I have a page with a list of about 100 universities and their details. I would like to implement facet search on the list based on the state where university belongs.

I created a state_id column in the univ table and indexed the states. However, I was only able to index 7 unique state_ids when I try to include the 8th it gets assigned to any of the existing 7 ids.

Any help is appreicated.


(system) #2