: Anyone knows why we can`t have an analysis chain on a numeric field ?
: Looks to me like it would be very useful to be able to
: manipulate/transform a value without an external resources.
Analysis only affects *indexed* terms -- it has no impact on the stored
values (or things like docValue
an external resources.
Thanks
> -Original Message-
> From: Jack Krupansky [mailto:j...@basetechnology.com]
> Sent: April-15-14 4:36 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Transformation on a numeric field
>
> You can use an update processor. The st
, April 15, 2014 3:57 PM
To: 'solr-user@lucene.apache.org'
Subject: Transformation on a numeric field
Hi All,
I am looking for a way to index a numeric field and its value divided by 1
000 into another numeric field.
I thought about using a CopyField with a PatternReplaceFilterFactory to
Hello!
You can achieve that using update processor, for example look here:
http://wiki.apache.org/solr/ScriptUpdateProcessor
What you would have to do, in general, is create a script that would
take a value of the field, divide it by the 1000 and put it in another
field - the target numeric fiel
Hi All,
I am looking for a way to index a numeric field and its value divided by 1 000
into another numeric field.
I thought about using a CopyField with a PatternReplaceFilterFactory to keep
only the first few digits (cutting the last three).
Solr complains that I can not have an analysis chai