I have hierarchical colors: <field name="colors" type="text_path" indexed="true" stored="true" multiValued="true"/> text_path is TextField with PathHierarchyTokenizerFactory as tokenizer.
Given these two documents, Doc1: red Doc2: red/pink I want the result to be the following: ?fq=red ==> Doc1, Doc2 ?fq=red/pink ==> Doc2 But, with PathHierarchyTokenizer, Doc1 is included for the query: ?fq=red/pink ==> Doc1, Doc2 How can I query for hierarchical facets? http://wiki.apache.org/solr/HierarchicalFaceting describes facet.prefix.. But it looks too cumbersome to me. Is there a simpler way to implement hierarchical facets?