Presented faceted search using ultrasphinx

Published on

The first ruby funday held on 22nd Nov 2008 in New Delhi, India. I presented on faceted search using ultrasphinx. I also gave a live demo there. Here are the slides: Facet Searching using Ultrasphinx View SlideShare presentation or Upload your own. (tags: sphinx ultrasphinx) You can ask me if you have any doubt.

When Ultrasphinx is used with polymorphic associations…

Published on

Lets first consider simple has_many and belongs_to associations as: Now if you wish to index the title of associated article with comment for searching, you just need to add ” is_indexed :fields => :body, :include => [{ :association_name => ‘article’, :field => ‘title’, :as=> ‘article_title’}] ” So, your comment model will look like: Setup ultrasphinx … Continue reading When Ultrasphinx is used with polymorphic associations…