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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/03/23 16:42:11 UTC

[jira] [Resolved] (OAK-2668) Ability to disable index hints for MongoDB

     [ https://issues.apache.org/jira/browse/OAK-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved OAK-2668.
-----------------------------------
    Resolution: Fixed

Added a system property for now to disable the index hint: http://svn.apache.org/r1668671

If disabled with {{-Doak.mongo.disableIndexHint=true}}, it is up to MongoDB to decide which index to use.

> Ability to disable index hints for MongoDB
> ------------------------------------------
>
>                 Key: OAK-2668
>                 URL: https://issues.apache.org/jira/browse/OAK-2668
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.1.8
>
>
> The current implementation does not allow you to disable the index hint sent by MongoDocumentStore.query(). Either a hint for _id or _modified is sent. There should be a way to disable the hint entirely and let MongoDB decide.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)