Elasticsearch Python not raising error when no hits and several shards have failed

Elasticsearch python library is not raising error when no hits and several shards have failed. Since there are no hits being returned the error handing is not being called after the hits are yielded. This is in the scan method in the actions.py of elastic search python library. The response contained failures from six shards in our case but no hits. From use we could not tell if we are just getting zero hits or returned document id's because there is nothing to return or did, we have an error which was our case due to expansion of wild card character being too large.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.