On 4/11/2018 10:52 AM, SOLR4189 wrote:
> How can I change field value by specific condition in indexing?
>
> Indexed Doc in SOLR: { id:1, foo:A }
> Indexing Doc into SOLR: { id:1, foo: B }
>
> foo is single value field.
>
> Let's say I want to replace value of foo from A to B, if A > B, else do
>
Hi all,
How can I change field value by specific condition in indexing?
Indexed Doc in SOLR: { id:1, foo:A }
Indexing Doc into SOLR: { id:1, foo: B }
foo is single value field.
Let's say I want to replace value of foo from A to B, if A > B, else do
nothing.
Thank you.
--
Sent from: