lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <>
Subject [jira] [Created] (SOLR-12944) Bugs around createNodeSet=EMPTY
Date Tue, 30 Oct 2018 22:23:00 GMT
Varun Thacker created SOLR-12944:

             Summary: Bugs around createNodeSet=EMPTY 
                 Key: SOLR-12944
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Varun Thacker

Firstly, As of today we cannot create an empty collection from SolrJ

I have a two node cluster and this API call fails with an error
    //Create a coreless collection of 3 shards
    CollectionAdminRequest.Create create = CollectionAdminRequest
        .createCollection("test_collection", "conf1", 3,   0)

Secondly if I use the API directly , {{[http://localhost:8983/solr/admin/collections?action=create&name=test_coll&numShards=5&createNodeSet=EMPTY]
}}the state.json has replicationFactor = nrtReplicas = 1 instead of 0


On a side note , I think we should rethink how replicationFactor/nrtReplicas/tlogReplicas/pullReplicas
are stored.
These values could be stored at a per shard level such that adding a replica will actually
refelct the total replication count

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message