: 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
You can use an update processor. The stateless script update processor will
let you write arbitrary JavaScript code, which can do this calculation.
You should be able to figure it out from the wiki:
http://wiki.apache.org/solr/ScriptUpdateProcessor
My e-book has plenty of script examples for t
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