Hi,

I am trying to figure out a way to add prefix tokens to SOLR document using
DIH for hierarchical faceting 

Ex:

-Parent hierarchy
                +child hierarchy1
                +child hierarchy2

I couldn't really use PathHierarchyTokenizerFactory as I dont see a way to
control the depth of the hierarchy hence I thought of using face.prefix
approach to index the document along with prefix(something like below).

Doc#1: 0/NonFic, 1/NonFic/Law
Doc#2: 0/NonFic, 1/NonFic/Sci
Doc#3: 0/NonFic, 1/NonFic/Hist, 

I am not sure if I can implement the abolve indexing (indexing along with
prefix tokens for each path) using template transformers in DIH. Can someone
please clarify or provide me with pointers?

Thanks,
BB




--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-add-prefix-tokens-for-hierarchical-faceting-when-using-DIH-tp4006667.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to