[ https://issues.apache.org/jira/browse/LUCENE-7344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera updated LUCENE-7344: ------------------------------- Attachment: LUCENE-7344.patch Patch applies the DBQ after resolving the DV updates. With this patch, if there were DV updates, then the SegmentState is updated with the up-to-date reader. Note that this does not mean more work compared to what was done before -- if there are no DV updates, writeFieldUpdates isn't called, and no reader is updated. If there were field updates, then writeFieldUpdates was called anyway, refreshing the internal reader. This patch does not change the behavior, except it also updates the SegmentState.reader if there were DV updates. [~mikemccand] what do you think? Our SegmentReader already only refreshes the DV updates, that is it already maintains a view of the bare segment with the modified DV fields. Also, given what I wrote above, I don't believe that we're making more SR reopens? > Deletion by query of uncommitted docs not working with DV updates > ----------------------------------------------------------------- > > Key: LUCENE-7344 > URL: https://issues.apache.org/jira/browse/LUCENE-7344 > Project: Lucene - Core > Issue Type: Bug > Reporter: Ishan Chattopadhyaya > Attachments: LUCENE-7344.patch, LUCENE-7344.patch > > > When DVs are updated, delete by query doesn't work with the updated DV value. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org