: : 1) My categories are stored in database as coded numbers instead of : fully spelled out names. For example I would have a category of "2/7" : and a lookup dictionary to convert "2/7" into "NonFic/Science". How do I : do such lookup in DIH?
My advice: don't. I thought i mentioned this in that webcast, but if you've already got unique identifiers for your category names, keep using them in your index/facets, and then have your front end application resolve them into "pretty" category names. it's usually just as easy to do apply the labels at query time as at index time, and if you do it at query time you can tweak the labels w/o reindexing. : 2) Once I have the fully spelled out category path such as : "NonFic/Science", how do I turn that into "0/NonFic" & : "1/NonFic/Science" using the DIH? I don't have any specific suggestions for you -- i've never tried it in DIH myself. the ScriptTransformer might be able to help you out, but i'm not sure. : 3) Some of my categories are multi-words containing whitespaces, such as : "Computer Science" and "Functional Programming", so I'd have facet : values such as "2/NonFic/Computer Science/Functional Programming". How : do I handle whitespaces in this case? Would filtering by fq still work? a) it should if you use the {!raw} qparser b) if you follow my advice in #1, it won't matter. -Hoss