Alas, copyField does not support full glob. Just like dynamicField, you can only use * at the start or end of the source field name, but not both.

-- Jack Krupansky

-----Original Message----- From: Kiran Jayakumar
Sent: Wednesday, August 29, 2012 1:41 PM
To: solr-user@lucene.apache.org
Subject: Problem with copyfield wild card

Hi everyone,

I have several fields like Something_Misc_1, Something_Misc_2,
SomeOtherThing_Misc_1,... etc.

I have defined a copy field like this:

<copyField source="*Misc*" dest="SecondarySearch"/>

It doesnt capture the misc fields. Am I missing something ? Any help is
much appreciated.

Thanks

Reply via email to