Mohit, I do conditional processing in script fields in my code, so yes, very possible. Elasticsearch by default uses mvel for scripting which has full flow control support. See http://mvel.codehaus.org/MVEL+2.0+Control+Flow for details.
Bruce -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/82759964-12e7-44c2-8d64-b0e0bf9824ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
