lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <>
Subject [jira] [Commented] (LUCENE-8799) Add Force Commit Method to RandomIndexWriter
Date Wed, 15 May 2019 07:49:00 GMT


Dawid Weiss commented on LUCENE-8799:

Wouldn't it be better to just expose the writer from RandomIndexWriter so that you can do
whatever you wish in your test? I'd rather shift this to the caller than explain why this
method is oh-so-useful...

> Add Force Commit Method to RandomIndexWriter
> --------------------------------------------
>                 Key: LUCENE-8799
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Minor
>         Attachments: LUCENE-8799.patch
> A test convenience would be to add a force commit method in RandomIndexWriter. This will
allow writing tests where segment sizes can be accurately controlled.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message