python - How to get a list of all document types -


i use elesticserach_dsl in python searching, , it. thing not know how impement, how list of different document types. catch type field plays me same role table name in sql, , want do, somehow mimic show tables command.

i don't know how in python, elasticsearch point of view, how request looks like:

get /_all/_search?search_type=count {   "aggs": {     "name": {       "terms": {         "field": "_type",         "size": 100       }     }   } } 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -