curl -XGET '172.xx.xxx.xx:9200/document/post/_search?pretty=true' -d '{
"from" : 0, "size" : 30,
"query" : { "query_string" : { "query": "assistance in voting" }},
"highlight" : {
"fields" : {
"text" : {}
}
}
}'
http://www.elasticsearch.org/guide/reference/api/search/from-size.html
No comments:
Post a Comment