After a whole lot of facet-wrangling, I've come up with a practical
solution that suits my situation, which is to index each triple as a
series of paths. For example, if the "shelve" process of the
"accessionWF" workflow is "completed," it gets indexed as:
accessionWF
accessionWF:shelve
accessionW
I've been experimenting with that, but that fq wouldn't limit my facet
counts adequately. Since the document has both an accessionWF and a
digitizationWF, the fq would match (and count) the document no matter what
the status for each process.
I suppose I could do something like this:
acce
Hi,
Can you keep your hierarchy flat in SOLR and then use filter queries
(fq=wf:accessionWF) inside you facet queries (facet.field=status)?
Or is the requirement to have one single facet query producing the
hierarchical facet counts?
On Thu, Aug 11, 2011 at 10:43 AM, Michael B. Klein wrote:
> H
Hi all,
I have a particular data structure I'm trying to index into a solr document
so that I can query and facet it in a particular way, and I can't quite
figure out the best way to go about it.
One sample object is here: https://gist.github.com/1139065
The part that's tripping me up is the wor