On Fri, Mar 6, 2009 at 7:40 AM, Ashish P <ashish.ping...@gmail.com> wrote:
> > I have a multi valued field as follows: > <field > > name="condition"><![CDATA[content:data1,tsdatetime:2001-01-01T00\:00\:00.000Z]]></field> > > I want to index the data from this field into following fields > <field name="content" type="string" indexed="true" stored="true"/> > <field name="tsdatetime" type="date" indexed="true" stored="true"/> > > How can this be done?? Any ideas... Use a copyField (look at the schema shipped with solr for an example). However, you can copy individual values from a multi-valued field into two different fields. The copyField of a multi-valued field should also be multi-valued otherwise it will retain only the last value. -- Regards, Shalin Shekhar Mangar.