[ 
https://issues.apache.org/jira/browse/OAK-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15495950#comment-15495950
 ] 

Chetan Mehrotra commented on OAK-4815:
--------------------------------------

We should also look into decoupling the QueryEngineSettings from MBean aspect. 
This causes issue for me in 
[oakutils|https://github.com/chetanmeh/oakutils/blob/master/src/main/java/org/apache/jackrabbit/oak/query/QueryEngineSettings.java]
 as Google App Engine env does not allow access to jmx api

> ReferenceIndex slowdown due to OAK-3403
> ---------------------------------------
>
>                 Key: OAK-4815
>                 URL: https://issues.apache.org/jira/browse/OAK-4815
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.5.11
>
>
> In OAK-3403, a lookup using the ReferenceIndex now uses "new FilterImpl()", 
> which in turn uses "new QueryEngineSettings()". And this is slow, because it 
> is an AnnotatedStandardMBean, and instantiating such an object is quite slow. 
> (Actually it is also wrong, because the configured query engine settings are 
> not used in that case.)



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

Reply via email to