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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -