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

Robert Muir updated LUCENE-2532:
--------------------------------

    Attachment: LUCENE-2532.patch

here is an updated patch, with a lot more tests converted over.
the previous problem was just a bad assertion (thanks Mike)

But this one has a new problem, i angered spans.TestBasics somehow (use seed 
7669636241779895237L)
will try to debug it later, feel free if you have ideas.


> improve test coverage of multi-segment indices
> ----------------------------------------------
>
>                 Key: LUCENE-2532
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2532
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2532.patch, LUCENE-2532.patch, LUCENE-2532.patch, 
> LUCENE-2532.patch, stacktrace.txt
>
>
> Simple patch that adds a test-only helper class, RandomIndexWriter, that lets 
> you add docs, but it will randomly do things like use a different merge 
> policy/scheduler, flush by doc count instead of RAM, flush randomly (so we 
> get multi-segment indices) but also randomly optimize in the end (so we also 
> sometimes test single segment indices).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to