I need to use the script field value in my map script. I am not sure how
can i access that.
My query looks like this, I need to use value of state_info into my
map_REPORT script. Is it possible to access that??
{
"query": {
},
"script_fields": {
"state_info" : { "script" : "lookup", "lang" : native", "parems" :{
"field" : "state"}}
},
"facets": {
"reportFacet": {
"script": {
"init_script": "init_REPORT",
"map_script": "map_REPORT",
"reduce_script": "reduce_REPORT",
"params": {
--
}
}
}
}
}
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/82332df4-a4a0-4e3b-8439-cdeb3a6bf3de%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.