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

578 questions
5
votes
4 answers

Magento, custom product list

I made my own product list page based on Mage_Catalog_Block_Product_List: app/code/local/Mage/Catalog/Block/Product/Special.php: class Mage_Catalog_Block_Product_Special extends Mage_Catalog_Block_Product_List { /* Original contents */ …
Daniel Sloof
  • 12,568
  • 14
  • 72
  • 106
5
votes
1 answer

Azure Search Query causes a bad response 400 when it contains an apostrophe

I have two Facets I'm using for filtering via Azure Search: Revit's 2014 and Revit 2016 but both behave differently in the query. Error 400 (Bad Request) when a query with "Revit's" is passed: (search.in(Application,…
5
votes
2 answers

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. Now, I am stuck with my next task. I want to set…
5
votes
1 answer

Perform a facet search query with Algolia autocomplete

My index objects has a city field and I'd like to retrieve these with autocomplete, but documentation seems missing about how to perform a query (only basic search documentation is available), I found a prototype…
Xia Pengda
  • 53
  • 2
5
votes
1 answer

Solr: Query runtime faceting calculations on date fields and current date

Given the following schema fields: Is it…
antao
  • 767
  • 1
  • 9
  • 24
5
votes
1 answer

Solr multiple facet dates

According to the Apache Solr documentation on facets, I can use keys because: 'This can be helpful when faceting on the same field multiple times with different exclusions.' I need them because I want to have a facet that gives me 'Last day', 'Last…
Daniel Sloof
  • 12,568
  • 14
  • 72
  • 106
5
votes
2 answers

Solr - retrieving facet counts for unfiltered version of query

I'm using Solr for searching, and recently started using faceting to allow users to narrow their search. However, once the user filters by one of the facets, the other filter options are no longer returned in the facet results. This is expected,…
mjjohnson
  • 1,360
  • 3
  • 15
  • 25
5
votes
3 answers

I need to sort the facets that come back from SOLR by relevancy

I have within my SOLR index song objects which belong to a higher level album object. An example is shown below: Blood Sugar Sex Magic Under the Bridge A sad song about…
Pinguthepenguin
  • 175
  • 3
  • 12
5
votes
1 answer

What is the difference between count and total_count on an elasticsearch range facet?

I'm doing a search using a range facet: { "query": { "match_all": {} }, "facets": { "prices": { "range": { "field": "product_price", "ranges": [ {"from": 0, "to": 200}, {"from":…
5
votes
1 answer

Solr hierarchical facets: how to get all 2nd-level values for the top N 1st-level values

I have a pair of multi-valued index fields, author and author_norm, and I've created a hierarchical facet field for them using the pattern described at https://wiki.apache.org/solr/HierarchicalFaceting#Indexed_Terms. The facet values look like…
Jay Luker
  • 93
  • 1
  • 6
5
votes
2 answers

elasticsearch number of facets returned

I have faceted queries working with elasticsearch 0.19.9. However I would like to return all facets that have a count > 0. According to the documentation I should be able to: { "query" : { "match_all" : { } }, "facets" : { …
Michael
  • 3,568
  • 3
  • 37
  • 50
5
votes
1 answer

How to deal with relational data in Solr

We're right now planning to roll out Solr search for e-commerce site with faceted catalog navigation. We are having a little complex data schema for product and its specification attribute which are dynamic. We are certainly not able to understand…
Dharmik Bhandari
  • 1,702
  • 5
  • 29
  • 60
5
votes
2 answers

Getting facet count 0 in solr

I am using solr search with faceting in my application. My use case is in such a way that the index files in the datadir keeps on changing. The problem is, when I facet based on a particular field. I get the value from the indices that where…
Greenhorn
  • 1,811
  • 5
  • 21
  • 39
4
votes
1 answer

Looking for a faceted navigation tutorial

Does anyone know of a good tutorial that explains how to build a faceted search structure with ajax , php , and mysql?
Ryan
  • 14,392
  • 8
  • 62
  • 102
4
votes
2 answers

Solr Facet for Event dates

I have an event table which has start date and end date like this ============================================== id | name | start_date | end_date ============================================== 1 | Test Event 1 | 2011-11-20 |…
Mahbub
  • 3,108
  • 24
  • 29