About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:solr_replication

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
vufind2:solr_replication [2013/12/07 19:40] – [AlphaBrowse] bemosioradministration:solr_replication [2020/06/04 17:37] demiankatz
Line 1: Line 1:
 ====== Solr Replication ====== ====== Solr Replication ======
 +
 +Solr may be configured to replicate in a master-slave configuration. This can be useful for separating your indexing processes from your running search system, for load balancing, etc. Newer versions of Solr also support a more complex "Solr Cloud" configuration for robust multi-server searching; see [[https://vufind.org/jira/browse/VUFIND-834|VUFIND-834]] for some notes.
 ===== solrconfig.xml ===== ===== solrconfig.xml =====
  
Line 21: Line 23:
     <!--     <!--
       <lst name="slave">       <lst name="slave">
-         <str name="masterUrl">http://master:8080/solr/biblio</str>+         <str name="masterUrl">http://master:8983/solr/biblio</str>
          <str name="pollInterval">00:00:60</str>          <str name="pollInterval">00:00:60</str>
        </lst>        </lst>
Line 28: Line 30:
 </code> </code>
  
-===== AlphaBrowse ===== +===== pull-browse.sh (AlphaBrowse Synchronization) ====
-==== pull-browse.sh ====+
 A Bash script to pull browse indexes from another host. The idea is that if you are running a Solr slave to keep the indexing load away from searches, you probably want to do the same for the alphabetical browse indexes.  But there's no replication for SQLite! Prereqs are curl and passwordless ssh/scp between the hosts for the administrative user. A Bash script to pull browse indexes from another host. The idea is that if you are running a Solr slave to keep the indexing load away from searches, you probably want to do the same for the alphabetical browse indexes.  But there's no replication for SQLite! Prereqs are curl and passwordless ssh/scp between the hosts for the administrative user.
  
Line 188: Line 190:
  
 touch ${LOCAL_BASE}.db-ready && touch ${LOCAL_BASE}.db-ready &&
-curl "http://localhost:8080/solr/biblio/browse?source=${INDEX}" > /dev/null+curl "http://localhost:8983/solr/biblio/browse?source=${INDEX}" > /dev/null
  
 # Local Variables: # Local Variables:
administration/solr_replication.txt · Last modified: 2020/09/22 13:29 by demiankatz