Last active
November 12, 2016 22:46
-
-
Save umeshdangat/d236b8f70ddfda739df8b01c672413b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XGET 'localhost:9200/testindex/_search?pretty' -d' | |
{ | |
"query": { | |
"function_score": { | |
"script_score": { | |
"script": { | |
"lang": "painless", | |
"inline": "String foo = doc[\u0027qa_data\u0027].get(0).toString(); return 200;" | |
} | |
} | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment