lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: Solr 5.3.1 CREATE defaults to schema-less mode Java version 1.7.0_45
Date Fri, 30 Oct 2015 19:40:32 GMT


On Fri, Oct 30, 2015, at 07:03 PM, natasha wrote:
> Hi Erick,
> 
> If I just run the following, I have no issue:
> 
> bin/solr start
> curl '
> http://localhost:8983/solr/admin/cores?action=CREATE&name=test-core&instanceDir=/home/natasha/twc-session-dash1/collection1
> <http://localhost:8983/solr/admin/cores?action=CREATE&name=test-core&instanceDir=/home/natasha/twc-sessions-dash/collection1>
> '
> curl 'http://localhost:8983/solr/test-core/schema/fields'
> 
> As opposed to running bin/solr start -e cloud (which spins up an example)
> before I load a core.

Well yes, the -e cloud option is starting it in SolrCloud mode, in which
case you should be using the collections API to create a collection. The
two scenarios above *aren't* the same.

Upayavira

Mime
View raw message