alibaba / alibaba/DataX

实现elasticsearch-writer中的cleanup不删除mapping

Open
#572 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

Elasticsearch-writer cleanup选项会删除Es中index的mapping, cleanup的意思应该是更加接近于sql中的`truncate`即仅删除全部的数据但是保留表结构, 这样才能保证用户特殊的属性的mapping不会因为`cleanup=true`遭到删除并且重建.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Elasticsearch-writer cleanup option and trace how it handles the index mapping and data. Confirm that cleanup removes all data while preserving the existing mapping, then verify the behavior with the writer's available tests or a local Elasticsearch index.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.