o19s/elasticsearch-learning-to-rank

`_msearch` support when logging features

Open

#305 建立於 2020年5月9日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Java (1,456 star) (366 fork)batch import
help wanted

描述

Howdy! When logging features it sure would be faster to get to use the msearch api, though what's documented in the examples is just search. When trying to use that, hit:

~/.local/lib/python3.7/site-packages/elasticsearch/connection/base.py in _raise_error(self, status_code, raw_data)
    176
    177         raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
--> 178             status_code, error_message, additional_info
    179         )

RequestError: RequestError(400, 'illegal_argument_exception', 'key [ext] is not supported in the metadata section')

貢獻者指南