Timothy Potter created SOLR-11257:
-------------------------------------

             Summary: Only setting maxThreadCount for ConcurrentMergeScheduler 
(which is a user error) leads to a confusing validation error msg.
                 Key: SOLR-11257
                 URL: https://issues.apache.org/jira/browse/SOLR-11257
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Timothy Potter
            Priority: Minor


I tried tuning the maxThreadCount for my Concurrent scheduler using:

{code}
 <mergeScheduler class="org.apache.lucene.index.ConcurrentMergeScheduler">
          <int name="maxThreadCount">4</int>
       </mergeScheduler>
{code}
and got:
{code}
Validation errors:
Error: java.lang.IllegalArgumentException:java.lang.IllegalArgumentException: 
both maxMergeCount and maxThreadCount must be AUTO_DETECT_MERGES_AND_THREADS
{code}

Hmmm ... don't know what that means? As I user I need a better error message 
than that ^ Of course looking at the code, it seems I must also set: 
{{maxMergeCount}} but that error doesn't tell me that. So this bug is about 
fixing up the error to be more helpful to the user. Of course this is advanced 
functionality, so maybe expecting me to read the code to understand, in which 
case, just close this as invalid.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to