You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by al...@aim.com on 2011/09/01 23:15:42 UTC
copying one field to another using regex
Hello,
Is it possible to create a copy field from another by applying a regex or a function to source.
Thanks.
Alex.
RE: copying one field to another using regex
Posted by "Jaeger, Jay - DOT" <Ja...@dot.wi.gov>.
Not quite sure what you are asking.
You can certainly use copyField to copy a field, and then apply regex on the destination field's fieldType. We do that.
JRJ
-----Original Message-----
From: alxsss@aim.com [mailto:alxsss@aim.com]
Sent: Thursday, September 01, 2011 4:16 PM
To: solr-user@lucene.apache.org
Subject: copying one field to another using regex
Hello,
Is it possible to create a copy field from another by applying a regex or a function to source.
Thanks.
Alex.
Re: copying one field to another using regex
Posted by Markus Jelsma <ma...@openindex.io>.
No, field data is copied verbatim. Copy the field and strip what you don't
need.
> Hello,
>
> Is it possible to create a copy field from another by applying a regex or a
> function to source.
>
> Thanks.
> Alex.