|Re: Indexing of XML (List) Elements [message #639196 is a reply to message #639167]
||Mon, 15 November 2010 15:03
Originally posted by: juergen.schumacher.attensity.com|
Am 15.11.2010, 14:27 Uhr, schrieb UNI-HI Stud <firstname.lastname@example.org>:
> My problem is now, that SMILA concatenates all ingrediants to one
> String-Literal/Attribute. What i need is a List of String-Literals in
> the RecipeIngredient-Attribute.
> Something like this (just an simple illustration ):
> <IndexField FieldNo="12" IndexValue="true" Name="RecipeIngredients"
> StoreText="true" Tokenize="true" Type="List"/>
I'm not too accustomed to these elements of SMILA, but from looking at the
code it seems that
the XPathExtractor-Pipelet does not produce multiple literals in a single
attribute, so you
probably need to write your own pipelet to create this list of literals.
However, the Lucene
integration seems to be able to handle multi-literal attributes. So it
should be merely be
a matter of producing the literals, the configuration of the
DataDictionary seems to be OK to me.
Powered by FUDForum
. Page generated in 0.01857 seconds