You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/07/12 14:37:52 UTC
[jira] Commented: (LUCENE-2532) improve test coverage of
multi-segment indices
[ https://issues.apache.org/jira/browse/LUCENE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887362#action_12887362 ]
Robert Muir commented on LUCENE-2532:
-------------------------------------
thanks, I'll apply this logic to a few other multitermquery tests i am familiar with, and upload a new patch.
> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org