thanks you for read my post..
-
i use terms_stats
curl -XPOSThttp://10.32.240.15:21200/jp_listened_log/2014-02/_search -d '
{
"query": {
"match_all": {}
},
"facets": {
"tag_price_stats": {
"terms_stats": {
"key_field": "uniquePlayId",
"value_field": "scrubberPosition"
}
}
}
}
'
i don't need hits data
only need facets elements data..
how can i requst api?
_search/search_type=count ? -
second qustion
i want to use scroll with terms_stats..
how can i use terms_stats+scroll(pagination or scroll)?
plz someone help me