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

Alex Parvulescu commented on OAK-1722:
--------------------------------------

Patch looks good!

I would not take away the option to move the index below the root, and possibly 
have more than a single lucene index, but at this point I guess leaving this 
for future enhancement also works.

bq. Once you apply the patch
[~chetanm], I'm not sure who is supposed to apply the patch :)

> Use a shared IndexSearcher for performing Lucene queries
> --------------------------------------------------------
>
>                 Key: OAK-1722
>                 URL: https://issues.apache.org/jira/browse/OAK-1722
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.0, 1.1
>
>
> Currently the Lucene integrations opens a new IndexSeracher for every read 
> call. This proves to be costly as per OAK-1702. Instead we should use a 
> shared IndexSearcher based on approach taken in Lucene 
> [SearcherManager|https://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/search/SearcherManager.html].
> Further there needs to be a way to pickup any changes in Lucene index across 
> cluster nodes



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to