[
https://issues.apache.org/jira/browse/OAK-5989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger reassigned OAK-5989:
-------------------------------------
Assignee: Marcel Reutegger
> 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
> Assignee: Marcel Reutegger
> 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)