Can you use conditions in the script fields. for example
If A<0 then A+B else A-B, where A and B are the fields with datatype number.
thanks in advance...!!!!!!
Mohit Kumar Yadav
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAK6eDKcEVFyfMRSazLP3FFDhK7A4sckUGfC2_YExFXmvPBuQDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.