@lucene.apache.org
Subject: Re: Trim and copy a solr field
Hi Swapna,
Do you want to modify the *indexed* value or the *stored* value? The
analyzers modify the indexed value. To modify the stored value, the only
option that I'm aware of is to write an UpdateProcessor that changes the
document b
d I be missing here ?
>
> Thanks and Regards,
> Swapna.
>
> -Original Message-
> From: Juan Grande [mailto:juan.gra...@gmail.com]
> Sent: Monday, December 12, 2011 11:50 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Trim and copy a solr field
>
> Hi Swapna,
n.gra...@gmail.com]
Sent: Monday, December 12, 2011 11:50 PM
To: solr-user@lucene.apache.org
Subject: Re: Trim and copy a solr field
Hi Swapna,
You could try using a copyField to a field that uses
PatternReplaceFilterFactory:
The regular expression ma
Hi Swapna,
You could try using a copyField to a field that uses
PatternReplaceFilterFactory:
The regular expression may not be exactly what you want, but it will give
you an idea of how to do it. I'm pretty sure there must be some other ways
of doing thi
Hi,
I have a Solr field that contains the absolute path of the file that is
indexed, which will be something like
file:/myserver/Folder1/SubFol1/Sub-Fol2/Test.msg.
Am interested in indexing the location in a separate field. I was looking for
some way to trim the field value from last occu