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

Michael McCandless commented on LUCENE-5661:
--------------------------------------------

Can we just merge setRAMBufferSizeMB/setMaxBufferedDocs into a single sync'd 
setter?

> LiveIndexWriterConfig has setters that require magical order
> ------------------------------------------------------------
>
>                 Key: LUCENE-5661
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5661
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> Specifically setRamBufferSizeMB and setMaxBufferedDocs.
> Furthermore these are "live" settings on IWC, so there are potential race 
> conditions.
> It would be good if there were a better API, even if that just means 
> documenting "if both X and Y are set, X takes precedence".



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to