[
https://issues.apache.org/jira/browse/OAK-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077702#comment-14077702
]
Vikas Saurabh commented on OAK-1977:
------------------------------------
Benchmark result with path awareness:
{code}
# PropertyIndexQueryTest C min 10% 50% 90% max
N
Oak-MongoNS 1 0 0 1 6 478
27635
{code}
Benchmark result without path awareness:
{code}
# PropertyIndexQueryTest C min 10% 50% 90% max
N
Oak-MongoNS 1 20 22 26 40 508
2043
{code}
> ContentMirrorStoreStrategy should utilize path restriction when available
> -------------------------------------------------------------------------
>
> Key: OAK-1977
> URL: https://issues.apache.org/jira/browse/OAK-1977
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Affects Versions: 1.0.1
> Reporter: Vikas Saurabh
> Attachments: 1977-benchmark.patch, 1977-proposed.patch
>
>
> Currently {{ContentStoreMirrorStrategy}} has a mirror of content path under
> {{:index}}. Yet, while {{query}} (and {{count}}) methods doesn't jump
> directly into restricted path.
> This would be very useful for {{PropertyIndex}} where the queries can be
> optimized by supplying a path restriction along with an indexed property
> restriction (I don't know if queries with references would use paths so much
> though)
--
This message was sent by Atlassian JIRA
(v6.2#6252)