lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: Lucene native facets
Date Fri, 26 Apr 2013 12:30:20 GMT
Sure, but they are completely different conceptual models of faceting - Solr 
is dynamic, based on the actual data for the hierarchy, while Lucene is 
static, based on a predefined taxonomy that must be meticulously created 
before any data is added.

Solr answers the question: what structure does your data have, while Lucene 
answers the question how does your data fit into a predefined structure. 
Both are valid and valuable questions, but they are still rather distinct.

Yes, Solr should provide support for static facet taxonomies, but what 
exactly that would look like... has not even been proposed yet, yet alone as 
simple as "facet.lucene=true".

OTOH, maybe most of the work may be simply to add "taxonomy management" to 
Solr (as a passthrough to the Lucene features), and then maybe a lot of the 
existing Solr facet parameters simply need parallel Lucene-oriented 

But, the other half of Solr facets is how filter queries are used for 
selecting facets. That's all done at the application level, so it can't be 
"hidden" from the app so easily. Maybe a new Solr facet filter API can be 
developed that can then in turn have Solr facet vs. Lucene facet 
implementations. Or, maybe a new dynamic facet Lucene API could be added as 
well, so that Solr facets in fact become a passthrough as well.

Still, it would be good to support Lucene facets in Solr. Maybe that could 
be one of the key turning points for what defines Lucene/Solr 5.0.

Is there a Jira for this? I don't recall one.

-- Jack Krupansky

-----Original Message----- 
From: William Bell
Sent: Friday, April 26, 2013 4:01 AM
Subject: Lucene native facets

Since facets are now included in Lucene, why don't we add a pass through
from Solr? The current facet code can live on but we could create new param
like facet.lucene=true?

Seems like a great enhancement !

Bill Bell
cell 720-256-8076 

View raw message