You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/10 23:55:21 UTC

[jira] [Commented] (LUCENE-5661) LiveIndexWriterConfig has setters that require magical order

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

ASF subversion and git services commented on LUCENE-5661:
---------------------------------------------------------

Commit 1593526 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1593526 ]

LUCENE-5661: add workaround for race conditions in the LiveIWC api

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org