o19s/elasticsearch-learning-to-rank

`_msearch` support when logging features

Open

#305 opened on May 9, 2020

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Java (1,456 stars) (366 forks)batch import
help wanted

Description

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')

Contributor guide