Thanks Noble, worked just fine.
Erik
On Oct 28, 2009, at 6:51 AM, Noble Paul നോബിള്
नोब्ळ् wrote:
It is the behavior of the xml parser. if the field is multiValued,
the
value is always a List<String>.
in the field you may explicitly mention
<field column="$docBoost" xpath="/doc/@boost" multiValued="false"/>
this will override the schema setting
On Wed, Oct 28, 2009 at 4:11 PM, Erik Hatcher
<erik.hatc...@gmail.com> wrote:
I've got a situation where I'm bringing in a document boost factor
from some
XML (which comes from another entity in the DIH pipeline). It maps
in like
this:
<field column="$docBoost" xpath="/doc/@boost"/>
I got a parse exception (in DocBuilder where it parses $docBoost)
because
the value is an array. I do have a catch-all in my schema:
<dynamicField name="*" type="string" multiValued="true" />
When I set multiValued to false, it all worked fine.
Thoughts?
Thanks,
Erik
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com