apache / apache/lucene

Deletion by query of uncommitted docs not working with DV updates [LUCENE-7344]

Open
#8,398 15 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

When DVs are updated, delete by query doesn't work with the updated DV value.

---
Migrated from [LUCENE-7344](https://issues.apache.org/jira/browse/LUCENE-7344) by Ishan Chattopadhyaya (@chatman), updated Dec 22 2020
Attachments: [LUCENE-7344_hoss_experiment.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7344/LUCENE-7344_hoss_experiment.patch), [LUCENE-7344.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7344/LUCENE-7344.patch) (versions: 6)
Linked issues:
- [SOLR-5944](https://issues.apache.org/jira/browse/SOLR-5944)
- [SOLR-10159](https://issues.apache.org/jira/browse/SOLR-10159)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue description and the attached LUCENE-7344_hoss_experiment.patch and LUCENE-7344.patch, then compare the linked SOLR-5944 and SOLR-10159 issues. Establish a regression test for delete by query after a DocValues update; done means the query handles the updated value in uncommitted documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.