You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/03/27 09:49:41 UTC
[jira] [Updated] (OAK-5989) Create a partial index on _deleted
instead of sparse index
[ https://issues.apache.org/jira/browse/OAK-5989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-5989:
---------------------------------
Summary: Create a partial index on _deleted instead of sparse index (was: Create a partial index on _deleted)
> Create a partial index on _deleted instead of sparse index
> ----------------------------------------------------------
>
> Key: OAK-5989
> URL: https://issues.apache.org/jira/browse/OAK-5989
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: mongomk
> Reporter: Chetan Mehrotra
> Fix For: 1.8
>
>
> Currently MongoDocmentStore creates a sparse index on {{_deletedOnce}}. As discussed [here|https://issues.apache.org/jira/browse/OAK-3070?focusedCommentId=15902888&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15902888] it would better to create a partial Index [1].
> The criteria would be _modified, _deletedOnce : true
> This should only be done if Mongo >= 3.2
> [1] https://docs.mongodb.com/manual/core/index-partial/#index-type-partial
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)