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
10
votes
2 answers

How does Lucene/Solr achieve high performance in multi-field / faceted search?

Context This is a question mainly about Lucene (or possibly Solr) internals. The main topic is faceted search, in which search can happen along multiple independent dimensions (facets) of objects (for example size, speed, price of a car). When…
ron
  • 9,262
  • 4
  • 40
  • 73
10
votes
1 answer

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 select facet feature, but I can't even seem to…
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
9
votes
1 answer

How do I compute facets/aggregations for the top n documents, with pagination in Elasticsearch?

Suppose I have an index for cars on a dealer's car lot. Each document resembles the following: { color: 'red', model_year: '2015', date_added: '2015-07-20' } Suppose I have a million cars. Suppose I want to present a view of the most recently…
Michael Haren
  • 105,752
  • 40
  • 168
  • 205
9
votes
1 answer

Facet for counting index and type hits in elasticsearch

I'm using the query below to find the word "developer" in a blog index... http://localhost:9200/blog/_search { "query": { "query_string": { "query": "developer" } } } The query returns 3 hits on user and 1 hit on post…
raffian
  • 31,267
  • 26
  • 103
  • 174
8
votes
1 answer

Faceted query browser for SOLR

Can you recommend a faceted query browser that I can point at a SOLR index? Ideally this would be something that looks like an Endeca-built GUI, where the various facets are extracted from the index, the user clicks on one and is now shown the…
ddoughty
  • 1,303
  • 8
  • 12
8
votes
1 answer

Aggregate and filter from one index to another through a third

On my Elasticsearch server I have three indices: Person, Archive and Document. Each document has a archive field which is the _id of the Archive it is in. Each archive has a owner which is the _id of the Person that is the owner of the…
8
votes
1 answer

Lucene.NET 2.9 and BitArray/DocIdSet

I found a great example on grabbing facet counts on a base query. It stores the bitarray of the base query to improve the performance each time the a facet gets counted. var genreQuery = new TermQuery(new Term("genre", genre)); var…
Paul Knopf
  • 9,568
  • 23
  • 77
  • 142
8
votes
1 answer

ElasticSearch aggregation: exclude one filter per aggregation

I want to filter out documents whose field 'A' is equal to 'a', and I want to facet the field 'A' at the same time, excluding of course the previous filter. I know that you can put the filter 'outside' the query in order to get the facets without…
Alexey Kosov
  • 3,010
  • 2
  • 23
  • 32
8
votes
2 answers

Dedicated faceted search engine for dealing with dynamic taxonomies - helps just with performance or also flexibilty?

I've been thinking for a while about modeling typical ecommerce site with ebay-like taxonomy and attributes dependent on a particular product category. First attempt was choosing between EAV and Table Per Class db inheritance modeling. I've chosen…
aaimnr
  • 1,646
  • 1
  • 17
  • 31
8
votes
2 answers

hierarchical faceting with Elasticsearch

I'm using elasticsearch and need to implement facet search for hierarchical object as follow: category 1 (10) subcategory 1 (4) subcategory 2 (6) category 2 (X) ... So I need to get facets for two related objects. Documentation says that…
8
votes
0 answers

How to do sorting in Lucene.Net faceted search

Currently I am doing Faceted search on indexes created by Lucene.NET. Below is my code. var query = new MatchAllDocsQuery(); var factedSearch = new SimpleFacetedSearch(luceneIndexReader,new[] { "field1","field2" }); SimpleFacetedSearch.Hits…
7
votes
3 answers

nested fields in SOLR

I've got a question about the possibility to create nested fields in solr. Google searches told me something about group but I think its just for the result? what I want to have is a structure like that: Category1 item 1 (9) item 2…
HW90
  • 1,953
  • 2
  • 21
  • 45
7
votes
1 answer

ArangoDB Faceted Search Performance

We are evaluating ArangoDB performance in space of facets calculations. There are number of other products capable of doing the same, either via special API or query language: MarkLogic Facets ElasticSearch Aggregations Solr Faceting etc We…
Roman Kuzmik
  • 151
  • 5
7
votes
2 answers

Set Custom Order for Facets coming from Solr

I'm using Solr for offering faceted navigation for e-commerce site. However I need to define the custom order for facets, but I didn't find how to do that in Solr. Any idea how to do this? I'm using Solr Net and latest version of Solr. Here is an…
Krunal
  • 2,967
  • 8
  • 45
  • 101
1
2
3
38 39