Re: Multiple schemas in the same SolrCloud ?

2013-10-11 Thread maephisto
Upload the new configuration and the use the collection API to reload you collection https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-ReloadaCollection -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-schemas-in-the-same-SolrCloud-tp409

Re: Multiple schemas in the same SolrCloud ?

2013-10-11 Thread xinwu
Hi,kamaci. Is that means I just need to upload new config files ,and do not need to reload every node in solrCloud ,when I want to change my configurations? -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-schemas-in-the-same-SolrCloud-tp4094279p4094908.html Sent fro

Re: Multiple schemas in the same SolrCloud ?

2013-10-11 Thread Furkan KAMACI
Here is a topic you should read it: http://lucene.472066.n3.nabble.com/Reloading-config-to-zookeeper-td4021901.html 2013/10/11 maephisto > Thanks! > My only doubt is: upload a new set of configuration files to the same > configuration name like so: > > Initial configuration: > zkcli.sh -zkhost

Re: Multiple schemas in the same SolrCloud ?

2013-10-11 Thread maephisto
Thanks! My only doubt is: upload a new set of configuration files to the same configuration name like so: Initial configuration: zkcli.sh -zkhost localhost:9983 -cmd upconfig -confdir conf_initial/ -confname my_custom_config and afterwards, to change it do: zkcli.sh -zkhost localhost:9983 -cmd upc

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread xinwu
Thank you,Shawn. Thank you,everyone. All your answers help me a lot.Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-schemas-in-the-same-SolrCloud-tp4094279p4094850.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread Liu Bo
you can try this way: start zookeeper server first. upload your configurations to zookeeper and link them to your collection using zkcli just like shawn said let's say you have conf1 and conf2, you can link them to collection1 and collection2 remove the bootstrap stuff and start solr server. a

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread Upayavira
Use $solrzip/example/cloud-scripts/zkcli.sh to upload a new set of configuration files. Upayavira On Thu, Oct 10, 2013, at 04:57 PM, maephisto wrote: > On this topic, once you've uploaded you collection's configuration in ZK, > how > can you update it? > Upload the new one with the same config na

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread maephisto
On this topic, once you've uploaded you collection's configuration in ZK, how can you update it? Upload the new one with the same config name ? -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-schemas-in-the-same-SolrCloud-tp4094279p4094729.html Sent from the Solr -

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread Shawn Heisey
On 10/10/2013 2:45 AM, xinwu wrote: > I solved that problem by using the "-Dbootstrap_conf=true" configuration > instead of the "-Dbootstrap_confdir=/opt/Solr_home/collection1/conf > -Dcollection.configName=solrConfig" on startup. You do not need this bootstrap option either. Once your configurat

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread xinwu
Thank you ,Shawn. I solved that problem by using the "-Dbootstrap_conf=true" configuration instead of the "-Dbootstrap_confdir=/opt/Solr_home/collection1/conf -Dcollection.configName=solrConfig" on startup. But,another problem showed up. I had two collections (collection1,collection2) when I sta

Re: Multiple schemas in the same SolrCloud ?

2013-10-10 Thread xinwu
Thank you,kamaci. -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-schemas-in-the-same-SolrCloud-tp4094279p4094594.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple schemas in the same SolrCloud ?

2013-10-09 Thread Shawn Heisey
On 10/9/2013 1:17 AM, xinwu wrote: I remember I must put the "-Dbootstrap_confdir=/opt/Solr_home/collection1/conf -Dcollection.configName=solrConfig " in the catalina.sh . Is it means that solrCloud must have one ,and only one, schema? Those bootstrap options are intended to be used ONCE, and

Re: Multiple schemas in the same SolrCloud ?

2013-10-09 Thread Furkan KAMACI
You can have more information from here: https://cwiki.apache.org/confluence/display/solr/Using+ZooKeeper+to+Manage+Configuration+Files 2013/10/9 xinwu > I remember I must put the > "-Dbootstrap_confdir=/opt/Solr_home/collection1/conf > -Dcollection.configName=solrConfig " in the catalina.sh .

Re: Multiple schemas in the same SolrCloud ?

2013-10-09 Thread xinwu
I remember I must put the "-Dbootstrap_confdir=/opt/Solr_home/collection1/conf -Dcollection.configName=solrConfig " in the catalina.sh . Is it means that solrCloud must have one ,and only one, schema? -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-schemas-in-the-s

Re: Multiple schemas in the same SolrCloud ?

2013-10-09 Thread Anshum Gupta
You can simply have multiple collections, each independent of each other on the schema but could run on the same instance/jvm if you want. On Wed, Oct 9, 2013 at 12:36 PM, xinwu wrote: > Hi all, > > I want to use the multiple schemas in the same solrCloud, is it allowed? > > If it is allowed,ho

Re: Multiple schemas?

2008-03-27 Thread tim robertson
Thanks all, for the answers On Thu, Mar 27, 2008 at 10:04 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Thu, Mar 27, 2008 at 4:56 PM, Otis Gospodnetic > <[EMAIL PROTECTED]> wrote: > > Or use the JNDI approach that's described on the Wiki. I've used it > with Jetty and it works nicely. Multip

Re: Multiple schemas?

2008-03-27 Thread Yonik Seeley
On Thu, Mar 27, 2008 at 4:56 PM, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > Or use the JNDI approach that's described on the Wiki. I've used it with > Jetty and it works nicely. Multiple webapp contexts, multiple Solr indices, > but a single JVM. With multiple smaller collections, one might

Re: Multiple schemas?

2008-03-27 Thread Otis Gospodnetic
ey <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Thursday, March 27, 2008 4:31:06 PM Subject: Re: Multiple schemas? On Thu, Mar 27, 2008 at 3:47 PM, tim robertson <[EMAIL PROTECTED]> wrote: > Would I be correct in thinking that for each schema I want, I need a new >

Re: Multiple schemas?

2008-03-27 Thread Yonik Seeley
On Thu, Mar 27, 2008 at 3:47 PM, tim robertson <[EMAIL PROTECTED]> wrote: > Would I be correct in thinking that for each schema I want, I need a new > SOLR instance running? For different search collections, it's generally best to run a separate Solr instance. If you need to run multiple in the

Re: Multiple schemas?

2008-03-27 Thread Daniel Papasian
tim robertson wrote: Hi, Would I be correct in thinking that for each schema I want, I need a new SOLR instance running? Hey Tim, Documents aren't required to have all of the fields (it's not a database), so what I would do is just have all of the field definitions in a single schema.xml fil

Re: Multiple schemas

2006-09-26 Thread Yonik Seeley
On 9/26/06, climbingrose <[EMAIL PROTECTED]> wrote: Am I right that we can only have one schema per solr server? If so, how would you deal with the issue of submitting completely different data models (such as clothes and cars)? If they have no relation, put them in separate servers or webapps.