debugging groovy script elasticsearch -


how possible print or log variables using groovy script scoring? know there log directories, don't log print in script.

ok, said, here way of doing so.

curl -xpost "http://localhost:9200/index/type/_search" -d' {     "size": 1,      "script_fields": {        "totestfield": {           "script": "_source.field_name.equals('key')? true : false "        }     }  }' 

change script , check value of totestfield in response,

i think easy way debug.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -