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

Thomas Mueller commented on OAK-1702:
-------------------------------------

When I run the test, it always searches for the term "5b 5bsv?r?ki 5d 5d". The 
result is always 568 entries (that's quite many). Is that intended?

{noformat}
    class TestContext {
        final Session session = loginWriter();
        final String word = 
Text.escapeIllegalJcrChars(sampleSet.get(random.nextInt(sampleSet.size())));
        {
            System.out.println("search for " + word);
        }
    }
{noformat}

TestContext is only instantiated once...

> 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)

Reply via email to