[
https://issues.apache.org/jira/browse/OAK-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16725500#comment-16725500
]
Vikas Saurabh commented on OAK-7947:
------------------------------------
[~tmueller], v3 looks fine to me. Adding a few comment though:
* I think we should get v2::point3 and point4 (log in oak streaming index file
and avoid getNumDocs in case there's an entry count set)
* {quote}// already released{quote} should we add a warn here - I don't think
multiple release calls are expected
* {quote}// ...I don't think this is ever called concurrently{quote} I agree
that methods on this would not be called concurrently. So, can we possibly
simplify locking and simply add {{synchronized}} to the method itself?
> Lazy loading of Lucene index files startup
> ------------------------------------------
>
> Key: OAK-7947
> URL: https://issues.apache.org/jira/browse/OAK-7947
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene, query
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Major
> Attachments: OAK-7947.patch, OAK-7947_v2.patch, OAK-7947_v3.patch,
> lucene-index-open-access.zip
>
>
> Right now, all Lucene index binaries are loaded on startup (I think when the
> first query is run, to do cost calculation). This is a performance problem if
> the index files are large, and need to be downloaded from the data store.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)