Andy Laird created SOLR-3527:
--------------------------------

             Summary: Optimize ignores maxSegments in distributed environment
                 Key: SOLR-3527
                 URL: https://issues.apache.org/jira/browse/SOLR-3527
             Project: Solr
          Issue Type: Bug
          Components: SearchComponents - other
    Affects Versions: 4.0
            Reporter: Andy Laird


Send the following command to a Solr server with many segments in a 
multi-shard, multi-server environment:

curl 
"http://localhost:8080/solr/update?optimize=true&waitFlush=true&maxSegments=6&distrib=false";

The local server will end up with the number of segments at 6, as requested, 
but all other shards in the index will be optimized with maxSegments=1, which 
takes far longer to complete.  All shards should be optimized to the requested 
value of 6.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to