[ 
https://issues.apache.org/jira/browse/OAK-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra updated OAK-1702:
---------------------------------

    Attachment: OAK-1702-shared-indexer.patch

Patch which uses a shared IndexSearcher similar to Lucene SearcherManager [1] 
[2]. With this the Oak Lucene support uses a shared IndexSearcher instance 
across multiple calls

TODO
* Need a periodic job which calls the SearcherManager.mayBeRefresh so as to 
refresh the Directory state
* Need to verify the logic of SearcherManager#isCurrent

With this change number only improve slightly

{noformat}
# FullTextSearchTest               C     min     10%     50%     90%     max    
   N
Oak-Tar                            1      32      33      34      36      61    
1738
{noformat}

[1] 
https://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/search/SearcherManager.html
[2] 
http://blog.mikemccandless.com/2011/09/lucenes-searchermanager-simplifies.html

> Create a benchmark for Full text search
> ---------------------------------------
>
>                 Key: OAK-1702
>                 URL: https://issues.apache.org/jira/browse/OAK-1702
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: bench
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.1
>
>         Attachments: OAK-1702-shared-indexer.patch, OAK-1702.patch
>
>
> To compare the performance of Full text search between Jackrabbit 2 and Oak a 
> benchmark should be added.
> To start with the benchmark would do following
> * Would be based on WikipediaImport benchmark. So it would import the 
> wikipedia dump and perform full text query on that
> * Should be able to run on both JR2 and Oak. Need to account for maven setup 
> to handle different Lucene version as JR2 uses 3.6.0 and Oak use 4.x
> Later we can add concurrent version



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

Reply via email to