Looking for "Faceted" Search JS / Gem (w/ ThinkingSphinx)

31 views
Skip to first unread message

Michael Pearson

unread,
Nov 9, 2011, 6:04:39 PM11/9/11
to rails-...@googlegroups.com
Hi,

My client is using a home-grown JQuery-based search and it's really starting to crack around the edges as we try to extend its functionality.

By 'search', think carsales.com.au, where clicking a Make causes Models to filter down, and as you adjust the price and location the stock counts automatically update.

As this is fairly common problem I would have thought that there'd be a gem / JS combination that would both provide the UI elements and integrate with ThinkingSphinx or generally with ActiveModel. I found AjaxSolr, but we're not looking at switching out to Solr at this stage.

Any recommendations, even for solutions that will go part of the way?

--
Michael Pearson


Nicholas Faiz

unread,
Nov 9, 2011, 6:11:30 PM11/9/11
to rails-...@googlegroups.com
Hey Michael,

I had to build faceted search earlier this year, and moved from Thinking Sphinx to Solr.

Unfortunately Sphinx can't handle string based faceting, so Thinking Sphinx doesn't. There's a database level hack (stored proc) for postgres to make it possible but I didn't think it was something to put into production for a search based application. 

Cheers,
Nicholas

Michael Pearson

unread,
Nov 9, 2011, 6:23:04 PM11/9/11
to rails-...@googlegroups.com
At the moment we're not using TS's faceting at all - we've got a controller sending an id/count map back to our JS which knows what strings the IDs map to.

The solution doesn't need to use TS facet's support (such that it is).

--
You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/IifEK6SpdsUJ.
To post to this group, send email to rails-...@googlegroups.com.
To unsubscribe from this group, send email to rails-oceani...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.



--
Michael Pearson


Reply all
Reply to author
Forward
0 new messages