elastic/elasticsearch
在 GitHub 查看Should reindex serialize partial index and search requests
Open
#22,864 创建于 2017年1月30日
:Distributed/Reindex>bugTeam:Distributedhelp wanted
仓库指标
- Star
- (76,700 star)
- PR 合并指标
- (平均合并 2天) (30 天内合并 1,000 个 PR)
描述
As part of https://github.com/elastic/elasticsearch/pull/22691#discussion_r98434085, we noticed some behavior that deviates from the normal assumptions of serializing requests when using reindex. @javanna said:
we always make the assumption that serialization relies on the request being valid according to validate I think.
Based on that statement (valid means validate passes), the way reindex serializes a search request and index request violates the assumption. Should we consider removing the use of these partial requests and just serialize the data we expect for reindex?