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 19:53:03 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=86&rev2=87

  
  '''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 solr.xml
into root of that folder. Edit context file to point solr/home to that folder. Now undeploy
previous webapp and redeploy 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 permissions, and put
solr.xml into root of that folder. Edit context file to point solr/home to that folder. Now
undeploy previous webapp and redeploy again. (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:
  

Mime
View raw message