On 11/5/07, Kristen Roth <[EMAIL PROTECTED]> wrote:
> I'm wondering if this is possible... I am trying to model a hierarchy of
> facets, and have a field in my xml (Category) that structured like this:
> facet1::facet2::facet3...  At index time, I would like to split this
> field on the :: to populate several other fields I have defined in my
> schema (Category_1, Category_2, Category_3).  Is this possible?  If so,
> what is the best way to do this?

I think a PatternTokenizer might be able to do this...
set up a copyField from Category to all the other category fields, and
then set up a different regex on each field to pull out the right
part.

-Yonik

Reply via email to