> Thanks,
> Prabaharan
>
> -Original Message-
> From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
> Sent: 22 June 2016 17:44
> To: solr-user@lucene.apache.org
> Subject: Re: How to configure and use updateRequestProcessorChain for
> Solr-5.3.1
>
> And
; Prabaharan
>
> -Original Message-
> From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
> Sent: 22 June 2016 17:44
> To: solr-user@lucene.apache.org
> Subject: Re: How to configure and use updateRequestProcessorChain for
> Solr-5.3.1
>
> And also be sure your JVM i
Subject: Re: How to configure and use updateRequestProcessorChain for Solr-5.3.1
Where does the 0145 come from? Is that the previous value of the field? Or do
you have a copyfield somewhere perhaps?
Regards,
Alex.
Newsletter and resources for Solr beginners and intermediates:
http://www.solr
> From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
> Sent: 22 June 2016 17:44
> To: solr-user@lucene.apache.org
> Subject: Re: How to configure and use updateRequestProcessorChain for
> Solr-5.3.1
>
> And also be sure your JVM is compatible with the script you’re using - looks
quot;);
}
But setField append the value instead of over-write it.
"user_number": [
"0145",
"Hello"
]
Thanks,
Prabaharan
-Original Message-
From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
Sent: 22 June 2016 17:44
And also be sure your JVM is compatible with the script you’re using - looks
fine besides that “use strict” which I’ve used in an update script.
There have been some tribulations with JVM’s and some of the update-script.js’s
(specifically under example/files as it uses some tricky JavaScript/Jav
On 22 June 2016 at 21:28, Rajendran, Prabaharan wrote:
> function processAdd(cmd) {
> "use strict";
> var doc = cmd.solrDoc;
> }
Did you try not using "use strict"? Seems like a kind of Javascript
feature that may not be implemented by the Java's implementation of
the interpreter.
Regar
Hi,
I am using Solr-5.3.1 and I am trying to use updateRequestProcessorChain.
I used https://wiki.apache.org/solr/UpdateRequestProcessor &
https://github.com/pannapat/solr-script-update-processor-example as my
reference.
Please refer below for the js which I used (placed in collection1/conf/).