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 2014/05/10 23:55:21 UTC

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

Robert Muir created LUCENE-5661:
-----------------------------------

             Summary: 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