lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sling <sling...@gmail.com>
Subject in solrcoud, how to assign a schemaConf to a collection ?
Date Fri, 19 Apr 2013 10:12:43 GMT
hi all, help~~~
how to specify a schema to a collection in solrcloud?

i have a solrcloud with 3 collections, and each configfile is uploaded to zk
like this:
args="-Xmn3000m -Xms5000m -Xmx5000m -XX:MaxPermSize=384m
-Dbootstrap_confdir=/workspace/solr/solrhome/doc/conf
-Dcollection.configName=docconf -DzkHost=zk1:2181,zk2:2181,zk3:2181
-DnumShards=3 -Dname=docCollection"

the solr.xml is like this
  <cores ...........>
        <core name="doc" instanceDir="doc/" loadOnStartup="true"
transient="false" collection="docCollection" />
        <core name="video" instanceDir="video/" loadOnStartup="true"
transient="false" collection="videoCollection" />
        <core name="pic" instanceDir="pic/" loadOnStartup="true"
transient="false" collection="picCollection"  />
  </cores>

then, when all nodes startup, i find the schema of 2 collection(doc and
video) are the same , while the schema of pic is wrong too......

are there some propeties in <core>, which can specify a its own schma??? 

thands for any help.......







--
View this message in context: http://lucene.472066.n3.nabble.com/in-solrcoud-how-to-assign-a-schemaConf-to-a-collection-tp4057238.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message