apache.org
Sent: Monday, May 19, 2014 3:54:30 PM
Subject: Re: Error when creating collection
Shawn,
I set a shard ID however am still getting the same issue. The logs on the solr
server are reporting the following:
The request is being performed on 192.168.1.155 and it is timing out when
e.org
Sent: Wednesday, May 14, 2014 12:43:00 PM
Subject: Re: Error when creating collection
On 5/13/2014 4:39 PM, Mark Olsen wrote:
> I'm creating a collection via Java using this function call:
>
> String collection = "profile-2";
> CoreAdminRequest.Create create
On 5/13/2014 4:39 PM, Mark Olsen wrote:
> I'm creating a collection via Java using this function call:
>
> String collection = "profile-2";
> CoreAdminRequest.Create createRequest = new CoreAdminRequest.Create();
> createRequest.setCoreName(collection);
> createRequest.setCollection(collection)
Solr version: 4.2.1
I'm creating a collection via Java using this function call:
String collection = "profile-2";
CoreAdminRequest.Create createRequest = new CoreAdminRequest.Create();
createRequest.setCoreName(collection);
createRequest.setCollection(collection);
createRequest.setInstanceD
Thank you for your replies,
I am using the new-style discovery
It worked after adding this setting :
${genericCoreNodeNames:true}
--
View this message in context:
http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-tp4103536p4103696.html
Sent from the Solr - User mailing list archive at Nabble.com.
ew this message in context:
> http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-tp4103536p4106248.html
> Sent from the Solr - User mailing list archive at Nabble.com
> (http://Nabble.com).
>
>
Where did you add that directive? I am having the same problem.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-tp4103536p4106248.html
Sent from the Solr - User mailing list archive at Nabble.com.
oreNodeNames:true}
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-tp4103536p4103696.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
Thank you for your replies,
I am using the new-style discovery
It worked after adding this setting :
${genericCoreNodeNames:true}
--
View this message in context:
http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-tp4103536p4103696.html
Sent from the Solr - User
Are you using old-style XML files with a tag
and maybe tags as well? If so, see:
https://issues.apache.org/jira/browse/SOLR-5510
Short form: you may have better luck if you're using
old-style solr.xml files by adding:
genericCoreNodeNames="${genericCoreNodeNames:true}
to your tag, something li
Lansing,
I ran the command without any issue
http://localhost:8983/solr/admin/collections?action=CREATE&name=Current1&numShards=5&replicationFactor=3&maxShardsPerNode=15&collection.configName=default
The only different was that I have only one box and used the default config
from example folde
ange":"19990000-4ccbffff",
"state":"active",
"replicas":{}},
"shard5":{
"range":"4ccc-7fff",
"state":"active",
"replicas":{}}},
"maxShardsPerNode":"3",
"router":{"name":"compositeId"},
"replicationFactor":"3"}}
Note :This setup worked fine under solr 4.5.1
--
View this message in context:
http://lucene.472066.n3.nabble.com/Error-when-creating-collection-in-Solr-4-6-tp4103536.html
Sent from the Solr - User mailing list archive at Nabble.com.
12 matches
Mail list logo