lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <>
Subject [jira] [Commented] (SOLR-10114) child documents lack _version_, susceptible to reordered delete-by-query
Date Mon, 13 Feb 2017 17:56:41 GMT


Mike Drob commented on SOLR-10114:

I think it makes sense to split the fix into two parts - one patch to take care of future
indices and a separate fix to look at existing indices. Especially if one half of that is
much easier and can be done significantly faster.

> child documents lack _version_, susceptible to reordered delete-by-query 
> -------------------------------------------------------------------------
>                 Key: SOLR-10114
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Yonik Seeley
> It looks like when a block of documents is indexed, child documents get no \_version\_
field.  This means (among other potential issues) that a delete-by-query that is reordered
will cause matching child documents to be deleted.  DBQ normally prevents deleting newer docs
by including a restriction on \_version\_, which doesn't work for anything lacking that field.
 Re-ordered delete-by-term of any child docs would also be affected (although it should be
a much rarer issue.)
> The leading candidate for a fix is to use the exact same \_version\_ for all child docs.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message