[
https://issues.apache.org/jira/browse/SLING-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936842#comment-14936842
]
Norberto Leite commented on SLING-5078:
---------------------------------------
You are totally right. the *_parentPath* should not be unique.
> Missing indexes on MongoDBResourceProvider
> ------------------------------------------
>
> Key: SLING-5078
> URL: https://issues.apache.org/jira/browse/SLING-5078
> Project: Sling
> Issue Type: Improvement
> Components: NoSQL
> Affects Versions: NoSQL MongoDB Resource Provider 1.0.0
> Reporter: Norberto Leite
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> MongoDB supports secondary indexes but those are missing from the existing
> implementation.
> Not only for performance but also for uniqueness guarantee we should have the
> following indexes:
> *_path* - unique
> *_parent* - unique
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)