updateIndex 更新mapping额外信息时报【empty update args】
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 250
- PR merge metrics
- No merged PRs in 30d
Description
updateIndex(wrapper) 方法,当Objects.isNull(wrapper.mapping)情况下,执行如下命令:
`Assert.notEmpty(wrapper.esIndexParamList, String.format("update index: %s failed, because of empty update args", indexName)); `
然而找不到对esIndexParamList赋值的方法,导致不更新mapping的情况下无法通过断言。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the updateIndex(wrapper) method and tracing wrapper.mapping and wrapper.esIndexParamList through the update path. Check the assertion for empty update arguments and verify the behavior when mapping is not being updated. Done means valid index updates no longer fail solely because esIndexParamList is empty.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100