lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrReplication" by scottchu
Date Thu, 12 Apr 2012 15:42:36 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrReplication" page has been changed by scottchu:
http://wiki.apache.org/solr/SolrReplication?action=diff&rev1=83&rev2=84

  
  '''NOTE''': Be sure to add 'false' default to enable.master and enable.slave, or deploying
will fail and the log will shows Solr gets a '.' instead of correct core instance dir. In
Solr Admin main page, you won't see links with core names (Clicking into the only link, you'll
get 'missing core in path' error). (added by Scott Chu @ Taiwan)
  
- '''NOTE''': If deploying is ok but you'll still see no links with core name, it could be
permission problem. This normally happens when you set instance dir under AP server's default
webapps folder. The workaround is to create another folder with good permissons, and put your
solr.xml and your core instance folder to deploy under that new folder and redeploying again.
(added by Scott Chu @ Taiwan)
+ '''NOTE''': If deploying is ok but you'll still see no links with core name, it could be
permission problem. This normally happens when you set instance dir under AP server's default
webapps folder. The workaround is to create another folder with good permissons, and put your
solr.xml and your core instance folder to deploy under that new folder and redeploying again
and don't forget to edit the context conf file accordingly. You also need to copy 'solr.xml'
into root of each core's instance dir (added by Scott Chu @ Taiwan)
  
  When the master is started, pass in -Denable.master=true and in the slave pass in -Denable.slave=true.
 Alternately, these values can be stored in a solrcore.properties file as follows:
  
@@ -145, +145 @@

  enable.master=false
  enable.slave=true
  }}}
+ 
+ '''NOTE''': Each core has its own solrcore.properties and put it under conf subfolder of
each core's instance dir. (added by Scott Chu @ Taiwan)
  
  == Replication with MultiCore ==
  Add the replication request handler to solrconfig.xml for each core (i.e. /usr/share/tomcat6/solr/CORENAME/conf/solrconfig.xml).

Mime
View raw message