[ https://issues.apache.org/jira/browse/OAK-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965371#comment-13965371 ]
Thomas Mueller commented on OAK-1702: ------------------------------------- I have a hack to re-use the IndexReader, and with a result set of 1, the performance improved a lot: {noformat} # FullTextSearchTest C min 10% 50% 90% max N Oak-Tar 1 2 2 4 4 71 16804 (before) Oak-Tar 1 0 0 0 1 62 121799 (with hack) {noformat} So it got about 7 times faster. Unfortunately, the hack is very ugly (using a static field). Still, I will attach it so people can run tests with it. > 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-lazy-cursor.patch, > OAK-1702-shared-indexer.patch, OAK-1702.oakcodec.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)