I am new to solr. I want to implement hierarchical faceting in my application. I went through http://wiki.apache.org/solr/HierarchicalFaceting and also for the preparation of correct xml.
My need is to push XML to solr for indexing and it should show expected results as shown in solr wiki.
Problem: I am not understanding how should I specify facet fields in solrconfig/schema and also in the xml that will be posted. IF anyone out there can provide me example configuration that will be great. I would like to do it as it is performing on solr hierarchical wiki above.
I may be sounding like a total newbie here but I am stuck .
Ref Document-
<add>
<doc>
<field name="id">4</field>
<field name="0/NonFic">General</field>
<field name="1/NonFic/Law">Rules</field>
<field name="1/NonFic/Sci">Chemistry</field>
<field name="1/NonFic/Sci">Physics</field>
</doc>
</add>
Thanks 89neuron