Zach,
As an alternative to 'copyField', you might want to consider the
CloneFieldUpdateProcessorFactory:
http://lucene.apache.org/solr/5_0_0/solr-core/org/apache/solr/update/processor/CloneFieldUpdateProcessorFactory.html

It supports specification of field names with regular expressions,
exclusion of specific fields that otherwise match the regex, etc.  Much
more flexible than copyField, in my opinion.

Regards,
Scott

On Mon, Aug 24, 2015 at 10:39 PM, Erick Erickson <erickerick...@gmail.com>
wrote:

> What is reported in the Solr log? That's usually much more informative.
>
> Best,
> Erick
>
> On Mon, Aug 24, 2015 at 5:26 PM, Alexandre Rafalovitch
> <arafa...@gmail.com> wrote:
> > It should work (at first glance). copyField does support wildcards.
> >
> > Do you have a field called "text"? Also, your field name and field
> > type "text" have the same name. Not sure it is the best idea.
> >
> > Regards,
> >    Alex.
> > ----
> > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> > http://www.solr-start.com/
> >
> >
> > On 24 August 2015 at 17:27, Zach Thompson <z...@duckduckgo.com> wrote:
> >> Hi All,
> >>
> >> Is it possible to use copyField with dynamicField?  I was trying to do
> >> the following,
> >>
> >> <dynamicField name="*_text" type="text" indexed="true"  stored="true"/>
> >> <copyField source="*_text" dest="text" maxChars="100" />
> >>
> >> and getting a 400 error on trying to copy the first dynamic field.
> >> Without the copyField the fields seem to load ok.
> >>
> >> --
> >>   Zach Thompson
> >>   z...@duckduckgo.com
> >>
> >>
>

Reply via email to