addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartexportfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Solr Dynamic Facets

From: Sudarshan K.
Sent on: Monday, June 4, 2012 12:35 PM
Hi Guys,

How do people deal with the lack of Solr support for Dynamic Facets? What I mean by that is, you need to tell Solr what facets to produce rather than Solr figuring that out for you. 

This JIRA is still unresolved:

My current thought is that I'd ask Solr to produce all possible facets (I've over 70) and then discard the ones where the top facet value has a count of 0. What are the performance implications of this?

On a related note, I haven't been able to figure out how is it that Solr does faceted search? Is it just a straightforward iterate over each document in the result set and increment the facet counts for each facet requested? 


Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy