Questions tagged [faceted-search]

Faceted search (also called faceted navigation, guided navigation, or parametric search) breaks up search results into multiple categories, typically showing counts for each, and allows the user to "drill down" or further restrict their search results based on those facets.

Faceted search, also called faceted navigation or faceted browsing, is a technique for accessing information organized according to a faceted classification system, allowing users to explore a collection of information by applying multiple filters.

A faceted classification system classifies each information element along multiple explicit dimensions, enabling the classifications to be accessed and ordered in multiple ways rather than in a single, pre-determined, taxonomic order

566 questions
95
votes
4 answers

What is faceted search?

What exactly is faceted search in the context of full-text search? I even read about it from Wikipedia, but I couldn't completely understand the use/benefit of it. Hope the community can answer/expand and explain with some good examples. NOTE:…
Gnanam
  • 9,553
  • 18
  • 48
  • 71
50
votes
2 answers

ElasticSearch group by multiple fields

The only close thing that I've found was: Multiple group-by in Elasticsearch Basically I'm trying to get the ES equivalent of the following MySql query: select gender, age_range, count(distinct profile_id) as count FROM TABLE group by age_range,…
Pavel
  • 874
  • 1
  • 6
  • 16
41
votes
1 answer

How to get an Elasticsearch aggregation with multiple fields

I'm attempting to find related tags to the one currently being viewed. Every document in our index is tagged. Each tag is formed of two parts - an ID and text name: { ... meta: { ... tags: [ { id:…
i_like_robots
  • 2,550
  • 2
  • 15
  • 21
37
votes
3 answers

Solr - Getting facet counts without returning search results

I need to return only the facet counts from solr. So I basically want to search over all documents and return the facet counts, but I don't want to return any search results. Is this possible? Thanks
Ryan
  • 4,331
  • 3
  • 21
  • 21
25
votes
4 answers

Faceted Search (solr) vs Good old filtering via PHP?

I am planning on setting up a filter system (refine your search) in my ecommerce stores. You can see an example here: http://www.bettymills.com/shop/product/find/Air+and+HVAC+Filters Platforms such as PrestaShop, OpenCart and Magento have what's…
Adil
  • 2,803
  • 5
  • 25
  • 30
17
votes
1 answer

Elasticsearch autocomplete search on array field

I am working on autocomplete suggestion on document field that has array of type string. My document is like below; { "title": "Product1", "sales": "6", "rating": "0.0", "cost": "45.00", "tags": [ "blog", …
Hüseyin BABAL
  • 14,821
  • 4
  • 48
  • 70
17
votes
4 answers

Efficient implementation of faceted search in relational databases

I am trying to implement a Faceted search or tagging with multiple-tag filtering. In the faceted navigation, only not-empty categories are displayed and the number of items in the category that are also matching already applied criteria is presented…
14
votes
5 answers

Facet search using MongoDB

I am contemplating to use MongoDB for my next project. One of the core requirements for this application is to provide facet search. Has anyone tried using MongoDB to achieve a facet search? I have a product model with various attributes like size,…
Firoz Ansari
  • 2,407
  • 1
  • 20
  • 36
13
votes
3 answers

What is the best HTML approach when form inputs are spread throughout the page?

I am building a faceted search system that has inputs in a sidebar (the facets are check boxes), and an input in the header of the page (the main query box). All of these inputs are submitted simultaneously when the user submits a search. The only…
mlissner
  • 14,662
  • 15
  • 82
  • 149
12
votes
3 answers

Using Solr with MySQL

I was browsing some questions here concerning MySQL and faceted searches and I saw one response that suggested the use of Solr. In my MySQL database, I have many tables for products, suppliers, messages, users, etc - all interconnected. How would I…
RS71
  • 121
  • 1
  • 3
12
votes
1 answer

ElasticSearch additional facet data

I have configured my Elastic Search implementation to facet the results by an id in the mapping and when I display that facet to the user I need to be able to show the human-readable name that represents it. The data I need is all present in the…
Nathan Taylor
  • 23,720
  • 17
  • 90
  • 152
12
votes
5 answers

solr faceted search - how do I specify multiple fields on the Solr Query UI?

I'm a newbie to solr and tying my hands at solr. Can some one here please explain how to specify multiple facet fields for a given search. I'm using the Solr Admin UI/ query ink and it allows me to specify only one field. I would however like to…
Chetya
  • 1,197
  • 1
  • 15
  • 25
10
votes
1 answer

Elasticsearch: excluding filters while faceting possible? (like in Solr)

I'm looking into changing from Solr to ES. One of the things I can't find info about is whether ES lets me define exclusion filters when faceting. For example consider producttype with values: A,B,C which I want to facet on (i.e: show counts for).…
Geert-Jan
  • 16,760
  • 10
  • 68
  • 121
10
votes
1 answer

Solr search query facet is returning only 100 results

I am calling solr search hosted on a different machine with a query. When I wrote a query, it returns numFound=2405 matching docs. we have more than 10000 doc indexed. But the facet results that is being returned has only 100 count of ids that i am…
Anu
  • 733
  • 2
  • 13
  • 22
9
votes
1 answer

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 feature to allow the user to filter their search…
chrisk
  • 235
  • 3
  • 6
1
2 3
37 38