No mapping found for field in order to sort on in ElasticSearch

后端 未结 9 1549
天命终不由人
天命终不由人 2020-12-12 18:59

Elasticsearch throws a SearchParseException while parsing query if there are some documents found not containing field used in sort criteria.

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 19:09

    I experienced the same problem (sorta; would get some errors, but some results), but in my case my search was being issued at the root (no index specified), and the errors I was getting were because the search/order was also looking to a Kibana index.

    Stupid error, but maybe this'll help someone else who ends up here.

提交回复
热议问题