Hmmm, need more data. This works just fine for me when I
copy/paste your example.

Best,
Erick


On Fri, Nov 29, 2013 at 5:04 AM, Dishanker Raj <dishanker....@adm.uib.no>wrote:

> Hello!
>
> The following entries in file ‘solrconfig.xml’ are supposed to match and
> replace an obsolete URL string to a newer one. But after documents are
> indexed using the ‘/update’ handler I still see the old URL string in the
> index that should have been replaced while indexing.
>
> <!-- BEGIN rewrite of URL -->
> <updateRequestProcessorChain name="newDomainURL">
>         <processor class="solr.RegexReplaceProcessorFactory">
>            <str name="fieldName">id</str>
>            <str name="fieldName">url</str>
>            <str name="pattern">old\.domain\.com</str>
>            <str name="replacement">new.domain.net</str>
>          </processor>
>         <processor class="solr.LogUpdateProcessorFactory" />
>         <processor class="solr.RunUpdateProcessorFactory" />
> </updateRequestProcessorChain>
> <!-- END rewrite of URL -->
>
> <requestHandler name="/update" class="solr.UpdateRequestHandler">
>         <lst name="defaults">
>                 <!-- BEGIN rewrite of URL -->
>                 <str name="update.chain">newDomainURL</str>
>                 <!-- END rewrite of URL -->
>         </lst>
> </requestHandler>
>
> Anyone got any helpful pointers as to why this is not succeeding? Thanks.
>
> Sincerely,
> Dishanker Raj
>
> PGP Public Key: http://goo.gl/TulvBO
>
>

Reply via email to