lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gus Heck (JIRA)" <>
Subject [jira] [Commented] (SOLR-8113) Accept replacement strings in CloneFieldUpdateProcessorFactory
Date Thu, 01 Oct 2015 21:04:26 GMT


Gus Heck commented on SOLR-8113:

This was motivated by the response to SOLR-8109. This bridges the gap in the suggested alternate
solution, but does look like it will likely be a lot less performant. I couldn't find a way
to re-use the match done by the FieldNameSelector, so the regex matches have to execute twice.
All attempts I made to do that resulted in major API changes.

This is however more flexible, will not interfere with atomic updates (as copyField apparently
does) and Allows further movement away from the use of copyField.

My preference would be for both this and SOLR-8109 to become available since speed is one
tradeoff, and atomic update support etc is another.

> Accept replacement strings in CloneFieldUpdateProcessorFactory
> --------------------------------------------------------------
>                 Key: SOLR-8113
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 5.3
>            Reporter: Gus Heck
>         Attachments: SOLR-8113.patch
> Presently CloneFieldUpdateProcessorFactory accepts regular expressions to select source
fields, which mirrors wildcards in the source for copyField in the schema. This patch adds
a counterpart to copyField's wildcards in the dest attribute by interpreting the dest parameter
as a regex replacement string.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message