lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas" <mike.kl...@gmail.com>
Subject Re: copyField to a dynamic field
Date Wed, 20 Sep 2006 23:53:31 GMT
On 9/20/06, Chris Hostetter <hossman_lucene@fucit.org> wrote:
> :    <copyField source="*_s" dest="*_t"/>

> I assume you mean you are interested in supporting something like that
> where whatever the "*" matches in the "source" is also matches in the
> "target" right? ... I don't know ofanyone working on it right now, but
> it's certainly something i can imagine might be implemented at some point
> in the future .. it just needs someoen with enough interest in submitting
> a patch :)

It would probably be easier to support an arbitrary regexp:

<copyField regexp="s/(.*)_s/\1_t/" />
or
<copyField source="(.*)_s" dest="\1_t" />

-Mike

Mime
View raw message