You can easily write a JavaScript snippet using the stateless script update processor and do whatever string manipulation you want on an input value, and then write extracted strings to whatever field(s) you want. My e-book has plenty of script examples.

-- Jack Krupansky

-----Original Message----- From: elisabeth benoit
Sent: Thursday, June 12, 2014 10:18 AM
To: solr-user@lucene.apache.org
Subject: Re: split field on json update

Thanks for your answer,

best regards,
Elisabeth


2014-06-12 14:07 GMT+02:00 Alexandre Rafalovitch <arafa...@gmail.com>:

There is always UpdateRequestProcessor.

Regards,
    Alex
On 12/06/2014 7:05 pm, "elisabeth benoit" <elisaelisael...@gmail.com>
wrote:

> Hello,
>
> Is it possible, in solr 4.2.1, to split a multivalued field with a json
> update as it is possible do to with a csv update?
>
> with csv
> /update/csv?f.address.split=true&f.address.separator=%2C&commit=true
>
> with json (using a post)
> /update/json
>
> Thanks,
> Elisabeth
>


Reply via email to