[
https://issues.apache.org/jira/browse/OAK-10102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685285#comment-17685285
]
Joerg Hoh commented on OAK-10102:
---------------------------------
Can we log a warn message if "Lazy Index Download" is enabled, and point to
this ticket for further reference? This can help us to remove this redundant
feature some time in the future.
> 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)