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

Joerg Hoh commented on OAK-10102:
---------------------------------

[~thomasm] agree on your reasons.

Should we then remove the code for lazy index download? Are there any 
circumstances where it still makes sense to use it?

> Disable lazy index download by default
> --------------------------------------
>
>                 Key: OAK-10102
>                 URL: https://issues.apache.org/jira/browse/OAK-10102
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene, query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>
> I found that with the default settings (the system property 
> "oak.lucene.nonLazyIndex" not set), and a decent number of Lucene indexes, 
> each query that might use a Lucene index takes around 30 ms. With the 
> property set, each query takes only 2 ms or so.
> The lazy index download was meant to speed up startup, because only indexes 
> are downloaded that are actually needed. But on my side, I have disabled the 
> setting since then.
> I think it makes sense to set change the default value, like it was before. 
> So enable the system property  "oak.lucene.nonLazyIndex" by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to