Lee Theobald wrote:
Hi all,
I've been trying to get the replication working in my test version of Solr
(1.4) but I don't think I've got it right. There doesn't seem to be any
errors but it doesn't seem to be working either. I'm going to the
distribution admin page [1] and just getting a bit of text telling me "No
distribution info present". I've tried with multiple cores (what I want but
perhaps isn't possible looking at the raised bugs) and a single core, both
give the same results. Going to the replication status page [2] gives me an
OK.
I'm thinking I've missed a vital bit of configuration. Is there anything on
this page [3] that is missing but I need? For example, listeners in the
solrconfig.xml? If so, could someone please give me an example.
Cheers for any input,
Lee
[1] http://localhost:8080/solr/admin/distributiondump.jsp
[2] http://localhost:8080/solr/replication
[3] http://wiki.apache.org/solr/SolrReplication
Have you uncommented the proper RequestHandlers in solrconfig.xml?
<!-- Please refer to http://wiki.apache.org/solr/SolrReplication for
details on configuring replication -->
<!--Master config-->
<!--
<requestHandler name="/replication" class="solr.ReplicationHandler" >
<lst name="master">
<str name="replicateAfter">commit</str>
<str name="confFiles">schema.xml,stopwords.txt</str>
</lst>
</requestHandler>
-->
<!-- Slave config-->
<!--
<requestHandler name="/replication" class="solr.ReplicationHandler">
<lst name="slave">
<str name="masterUrl">http://localhost:8983/solr/replication</str>
<str name="pollInterval">00:00:60</str>
</lst>
</requestHandler>
-->
--
- Mark
http://www.lucidimagination.com