ElasticSearch returns document in search but not in GET

前端 未结 1 1986
慢半拍i
慢半拍i 2021-01-18 00:18

I\'m doing a search of documents in my index, then subsequently trying to get some of them by _id. Despite receiving a set of results, some of the documents can

相关标签:
1条回答
  • 2021-01-18 00:39

    This issue typically occurs when documents are indexed with non-default routing (either explicitly set or deducted from parent's id in case of parent/child documents). If this is the case, try specifying correct routing in you get request.

    0 讨论(0)
提交回复
热议问题