lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Johnson <jej2...@gmail.com>
Subject Re: Copying a copyfield into another copyfield
Date Thu, 01 Sep 2011 19:38:21 GMT
This won't work, according to http://wiki.apache.org/solr/SchemaXml#Copy_Fields

"This is provided as a convenient way to ensure that data is put into
several fields, without needing to include the data in the update
command multiple times. The copy is done at the stream source level
and no copy feeds into another copy."

On Thu, Sep 1, 2011 at 3:26 PM, karthik <kmohanas@gmail.com> wrote:
> Hi Everyone,
>
> Sorry if the subject was too vague. What i am trying to do is this:
>
> <field name="A"/>
> <field name="B"/>
> <field name="C" multiValued="true"/>
> <field name="D" />
> <field name="E" multiValued="true"/>
>
>
> <copyField source="A" dest="C"/>
> <copyField source="B" dest="C"/>
> <copyField source="D" dest="E"/>
> <copyField source="C" dest="E"/>
>
> So basically i am trying to copy one of the destination fields of a copy
> field to another field. The question i have is whether the field E will get
> populated properly ie., by the time E is getting constructed would the field
> C have all the relevant values?
>
> Thanks
>

Mime
View raw message