RE: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-24 Thread Rajendran, Prabaharan
> 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

RE: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-23 Thread Alexandre Rafalovitch
; 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

RE: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-23 Thread Rajendran, Prabaharan
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

Re: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-22 Thread Alexandre Rafalovitch
> 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

RE: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-22 Thread Rajendran, Prabaharan
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

Re: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-22 Thread Erik Hatcher
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

Re: How to configure and use updateRequestProcessorChain for Solr-5.3.1

2016-06-22 Thread Alexandre Rafalovitch
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