lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atri Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8799) Add Force Commit Method to RandomIndexWriter
Date Wed, 15 May 2019 19:00:00 GMT

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

Atri Sharma commented on LUCENE-8799:
-------------------------------------

[~jpountz] Hmm, good point. I think the elaborate steps RandomIndexWriter takes to flush
concurrently is what causes a bit of confusion.

 

Would it make sense to add docs around the method, calling out what exactly happens when you
pass in true/false, or would it be an overkill?

> Add Force Commit Method to RandomIndexWriter
> --------------------------------------------
>
>                 Key: LUCENE-8799
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8799
>             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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message