Hi Yonik,
Are there any ideas on how to support hierarchical facets?
I've thought of some optimizations and general approach (not yet
implemented) when it's a strict hierarchy.
Thanks for your comments.
Of the two approaches you mention (storing the full tag path or creating
a strict facet hierarchy concept in Solr) I think the latter is the
tidier approach.
So in short, I think it's already doable with what's there, but could
be made more efficient.
I think a powerful facet supporting framework will be a very sought
after feature in the next few years. The question is whether Solr is
the right structure to develop it on. I'm torn because I believe that
complex facets will require some kind of ontological support rather than
an inverted index structure like Lucene. The problem is most
ontological code is relatively slow and difficult to update in a
scalable way.
Thanks for adding the Jira note (SOLR-64).
- David.