lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karthik <kmoha...@gmail.com>
Subject Re: Copying a copyfield into another copyfield
Date Thu, 01 Sep 2011 20:07:46 GMT
Thanks Jamie. Missed to notice that one from the wiki.

Thanks,
Karthik

On Thu, Sep 1, 2011 at 3:38 PM, Jamie Johnson <jej2003@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message