The /replication handler in solrconfig.xml has a commented-out "master" section which has a "confFiles" element which specifies which configuration files to replicate:

<str name="confFiles">schema.xml,stopwords.txt</str>

You can add your external file to that comma-separated list.

-- Jack Krupansky

-----Original Message----- From: lboutros
Sent: Saturday, March 16, 2013 6:46 PM
To: solr-user@lucene.apache.org
Subject: Re: Mark document as hidden

Ok, I have created a processor which manages to update the external file.

Basically,

until a commit request, the hidden document IDs are stored in a Set and when
a commit is requested, a new file is created by copying the last one, then
the additional IDs are appended to the external file.

Now I have a problem in my tests, when the "ChaosMonkey" stops one of the
testing cores and if the Peer Sync is not possible during the recovery
process:

The replication does not replicate the external file.
Do I have to create my own replication handler or is there a way to force
the replication of these files ?

Ludovic.



-----
Jouve
France.
--
View this message in context: http://lucene.472066.n3.nabble.com/Mark-document-as-hidden-tp4045756p4048125.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to