Elasticsearch Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "I'm loving elasticsearch-head ( https://github.com/mobz/elasticsearch-head ) _search?search_type=count <pre> { "aggs" : { "all_users": { "terms": { "field": "screen...")
 
No edit summary
Line 1: Line 1:
I'm loving elasticsearch-head ( https://github.com/mobz/elasticsearch-head )
elasticsearch-head and elastic search plugin ( https://github.com/mobz/elasticsearch-head )


_search?search_type=count
_search?search_type=count
Line 13: Line 13:
}
}
</pre>
</pre>
list indexes and summary:
curl 'localhost:9200/_cat/indices?v'

Revision as of 18:29, 13 October 2015

elasticsearch-head and elastic search plugin ( https://github.com/mobz/elasticsearch-head )

_search?search_type=count

{
 "aggs" : {
  "all_users": {
   "terms": {
    "field": "screen_name"
   }
  }
 }
}

list indexes and summary:

curl 'localhost:9200/_cat/indices?v'