jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-6873) UserInitializer should not use hard coded QueryIndexProvider
Date Thu, 26 Oct 2017 12:04:00 GMT
Chetan Mehrotra created OAK-6873:
------------------------------------

             Summary: UserInitializer should not use hard coded QueryIndexProvider
                 Key: OAK-6873
                 URL: https://issues.apache.org/jira/browse/OAK-6873
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: security
            Reporter: Chetan Mehrotra
            Priority: Minor
             Fix For: 1.8


[UserInitializer|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserInitializer.java#L99]
uses specific QueryIndexProvider

{noformat}
        Root root = RootFactory.createSystemRoot(store, EmptyHook.INSTANCE, workspaceName,
                securityProvider,
new CompositeQueryIndexProvider(new PropertyIndexProvider(), new NodeTypeIndexProvider()));
{noformat}

Due to this its not possible to use other implementation of QueryIndexProvider like Lucene.
To allow using other index types it should instead use {{WhiteboardIndexProvider}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message