That worked. Thanks again. Noble Paul നോബിള് नोब्ळ् wrote: > > the column names are case sensitive try this > > <field column="PROJECT_AREA" name="projects" /> > <field column="PROJECT_VERSION" name="projects" /> > On Sat, Apr 4, 2009 at 3:58 AM, ashokc <ash...@qualcomm.com> wrote: >> >> Hi, >> I need to assign multiple values to a field, with each value coming from >> a >> different column of the sql query. >> >> My data config snippet has lines like >> >> <field column="project_area" name="projects" /> >> <field column="project_version" name="projects" /> >> >> where 'project_area' & 'project_version' are output by the sql query to >> the >> datasource. The 'verbose-output' from dataimport.jsp does show that these >> columns have values returned by the query >> >> =============================== >> >> <lst name="verbose-output"> >> - >> <lst name="entity:log"> >> - >> <lst name="document#1"> >> + >> <str name="query"> >> xxxxx >> </str> >> <str name="time-taken">0:0:0.142</str> >> <str>----------- row #1-------------</str> >> <str name="PROJECT_AREA">MySource/Area/Admin</str> >> <str name="PROJECT_VERSION">MySource/Version/06.02</str> >> <date name="LAST_MODIFIED_DATE">2008-10-21T07:00:00Z</date> >> ..... >> >> ============== >> >> But the resulting index has no data in the field 'projects'. Is it NOT >> possible to create multi-valued fields with DIH? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Multi-valued-fields-with-DIH-tp22877509p22877509.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > > > -- > --Noble Paul > >
-- View this message in context: http://www.nabble.com/Multi-valued-fields-with-DIH-tp22877509p22886586.html Sent from the Solr - User mailing list archive at Nabble.com.