[ 
https://issues.apache.org/jira/browse/LUCENE-7344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man updated LUCENE-7344:
-----------------------------
    Attachment: LUCENE-7344.patch


Update patch...

bq. What this doesn't yet have (...) is tests that interleave multiple 
updateNumericDocValue() calls that affect multiple overlapping sets of docs, 
with deleteDocuments() calls that affect subsets of those documents ...

...patch now includes this by adding "modN" fields containing the value of 
"doc-id % N" so that in some of the updateNumericDocValue, instead of updating 
the value for a single doc via {{new Term("id","doc-42")}} we can instead 
update many docs via {{new Term("mod7","mod-3")}}.  As expected, only the 
{{\*MixOf\*}} tests that involve "deletes" fail with these changes.

(I skipped the "delete by BooleanQuery ..." part of my previous comment, 
because I realized it shouldn't matter, as long as the set of docs matching the 
delete query does directly corolate to the set of documents in any update)

----

Shai: if you can think of any additional tests you'd like to see I'll be happy 
to help write them.


> 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, LUCENE-7344.patch, 
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to