Alexander and Jack Thanks for the reply. Looking at both, I think that the CloneFieldUpdateProcessor can do what I need without having to implement a custom one. By the way, Is there a performance penalty by update processor comparing to copy Field?
On Mon, Feb 2, 2015 at 4:29 PM, Alexandre Rafalovitch <arafa...@gmail.com> wrote: > Not on copyField, > > You can use UpdateRequestProcessor instead ( > > http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/CloneFieldUpdateProcessorFactory.html > ). > > This allows to specify both inclusion and exclusion patterns. > > Regards, > Alex. > ---- > Sign up for my Solr resources newsletter at http://www.solr-start.com/ > > > On 2 February 2015 at 02:53, danny teichthal <dannyt...@gmail.com> wrote: > > Hi, > > Is there a way to make some patterns to be excluded on the source of a > > copyField? > > > > We are using globs to copy all our text fields to some target field. > > It looks something like this: > > <copyField source="prefix_*" dest="destination" /> > > > > I would like a subset of the fields starting with "prefix_" to be > excluded > > and not copied to destination. (e.g. all fields with "prefix_abc_*" ). > > Is there a way to do it on SOLR? > > > > I couldn't find anything saying that it exists. > > > > Thanks >