All Questions
Tagged with faceted-search ruby-on-rails
20 questions
0
votes
1
answer
1k
views
Rails How to make a filter link
I am working on a faceted search in rails. It follows from my previous question: Rails: How to use facets with search results
What I am able to do is to use scopes to get all the facets with respect ...
2
votes
0
answers
366
views
Rails: How to use facets with search results
I have a rails application where I am searching for repair shops. The search class method looks like this:
def self.search(params)
if params
repairshop = Repairshop.where(:...
0
votes
1
answer
664
views
How we can do full text search and facets stuffs on Bigquery?
In future we have millions of record in our web product. So we had used Bigquery for data storage and analysis. We have to built filters on our search page like flipkart, amazon provides product ...
0
votes
3
answers
2k
views
Faceted filtering using Postgres & Rails
What is the best way to implement a faceted search/filter UI using Postgres as the backend and Ruby on Rails as the front end? Example of this is below:
1
vote
1
answer
176
views
Sunspot Multi Faceted Search
I am building an API that is using Sunspot to act as the search engine on the backend and implement a faceted search. I have the following model for how I am doing the many different facet types for ...
1
vote
1
answer
828
views
Rails sunspot price range facet
I'm trying to set up price faceting on one of my models but I can't seem to get it to work properly. No matter which facet I select it only returns listings that's price equals $0. I'm not sure what I'...
1
vote
0
answers
334
views
Elasticsearch with Tire, how can I get global facets to take queries and other facets into account when reporting the count?
The problem can best be shown with a working example to get an idea of what I'm trying to do.
Example on Newegg's faceted search page...
Here's a link to just internal hard drives:
http://www.newegg....
0
votes
1
answer
296
views
Grouped facets with elasticsearch
I'm looking for a way to display my facets in a grouped list. For example i have some users and a facet to filter by country, this gives me:
Country
Holland (5)
England (2)
Egypt (5)
Rwanda (2)
And ...
1
vote
1
answer
2k
views
Mixing conditional operators with facets in Elasticsearch
I am trying to match a search query against two fields, as well as filter by facets if selected from dropdowns on the page.
When the user enters keywords it should match if found in two database ...
0
votes
2
answers
774
views
Solr: Sunspot with facet categories
I'm new to Solr, and I don't know if this is the best way to do it:
I have some products, that are classified into several categories. The categories are organizied in a hierarchical structure like
-...
0
votes
1
answer
92
views
Rails queries that consist of counts on associations, preferably with scopes
I've been making a search page for my service, and it includes several association based search parameters, I can think of a few messy long sql mess, but would prefer some cleaner approaches, as a ...
1
vote
1
answer
361
views
Thinking Sphinx name of facets
I have define facets for product model like this:
product_index.erb
ThinkingSphinx::Index.define :product, :with => :active_record do
indexes publish
indexes name, :sortable => true
...
4
votes
1
answer
1k
views
Select multiple facets or filter data simultaneously
UPDATED 6/29/12
I have managed to set up a search and a side bar for filtering results of a search using Sunspot and act-as-taggable with Rails. I was following this tutorial here
but I still can't ...
1
vote
0
answers
434
views
Tire Gem Ruby on Rails Faceted Search Issues
I am trying to replicate a working curl request I have using the Tire Gem. However when using the library it does not seem to let me within a facet set multiple fields. I want to set both the terms ...
0
votes
1
answer
330
views
Rails + Sunspot: "Unassigned" facet for filtering records that don't have an association assigned?
Still learning about facets, but I would like to filter for records that do not have an associated record assigned. First some code:
The model:
class Project < ActiveRecord::Base
belongs_to :...
9
votes
1
answer
3k
views
Rails Sunspot gem: Usings facets with multiple model site-wide searches
I'm trying to implement a sitewide search through the powerful Sunspot gem for Rails. This involves a search across multiple, very different models at once. What I WANT to do is use the faceting ...
2
votes
1
answer
2k
views
Thinking Sphinx Faceted Search Implementation Examples?
I am putting together a repository-type rails 3 site.
I have Thinking Sphinx installed and working on my site, insomuch as I can enter urls like localhost:3000/articles?search=test&page=2 and it ...
5
votes
2
answers
4k
views
Date range facets with Sunspot in Ruby on Rails
I am using Sunspot to search for events (parties, concerts, ...) in a Ruby on Rails 3 application.
I have managed to set up free text search and facet search on a couple of different category types.
...
3
votes
4
answers
2k
views
Rails 3: Predictive filtering (faceted navigation)
Users can currently apply filters to a database query by setting checkboxes, e.g.
Colour
[] Red
[] Green
[] Blue
Shape
[] Round
[] Square
Size
[] Small
[] Medium
[] Large
Clicking on a ...
10
votes
1
answer
5k
views
How do I set up a facet search with a many to many relationship using Sunspot?
I haven't implemented a search feature before and feel a bit stuck. I have a Sunspot search feature which finds results based on keywords - this works great - but I now want to implement the multi ...