Greetings, I'm trying to use dataimporthandler to load values from a db and trying to put them into multivalued dynamic fields. It appears to work for the first value, but does not add all the values to the field.
Here is the schema definition of the *_custom fields: <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100"> <analyzer type = "index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class = "solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class = "solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> <dynamicField name="*_custom" type="text_ws" indexed="true" stored="true" multiValued="true" termVectors="true"/> Here is my data-config.xml file: <entity name="usr" query="select * from user n"> <field name="id" column="uid" /> <field name="givenname" column="givenname" /> <field name="lastname" column="lastname" /> <field name="nickname" column="nickname" /> <field name="zipcode" column="zipcode" /> <field name="city" column="city" /> <field name="country" column="country" /> <field name="site" column="site" /> <field name="state" column="state" /> <field name="role" column="role" /> <field name="companygroup" column="companygroup" /> <field name="personalinfo" column="personalinfo" /> <field name="email" column="email" /> <entity name="customattr" query="select m.dir_attr, m.attr_id from pulse_custom_attribute_metadata m"> <entity name="customvalue" query="select value from pulse_custom_attribute_values v where v.user_id='${usr.uid}' and v.attr_id=${customattr.attr_id}"> ` <field name="${customattr.dir_attr}_custom" column="value" /> </entity> </entity> </entity> Does anyone know why its only importing one of the values from the db, as opposed to all of them. Thanks, Brad