TypeError: set() missing 1 required positional argument: 'objs' code example
Example: TypeError: index() missing 1 required positional argument: 'doc_type'
res = es.search(index="people", doc_type="test", body={"query":{"match":{"name": "john"}}})
res = es.search(index="people", doc_type="test", body={"query":{"match":{"name": "john"}}})