Problem with copyfield wild card

2012-08-29 Thread Kiran Jayakumar
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


Re: Problem with copyfield wild card

2012-08-29 Thread Jack Krupansky
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 



Re: Problem with copyfield wild card

2012-08-29 Thread Kiran Jayakumar
Thank you Jack.


On Wed, Aug 29, 2012 at 12:10 PM, Jack Krupansky j...@basetechnology.comwrote:

 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