Leonard Saers
Leonard Saers

Reputation: 669

Is it possible to trigger a solr replication by only changing the elevate or synonyms file?

After configuring the solr.ReplicationHandler, it seams that it's only possible to trigger a replication after startup, commit or optimize.

Is it possible to configure Solr to trigger a replicate after that only the synonyms or elevate file has been updated without restarting solr, reloading the core, sending a commit or optimize?

Upvotes: 0

Views: 1293

Answers (1)

Jayendra
Jayendra

Reputation: 52769

Probably not from Solr, However replication can be triggered by using http api

Force a fetchindex on slave from master command: http://slave_host:port/solr/replication?command=fetchindex

Also, remember if you are changing the synonyms file, if used at indexing, you may anyways need to reindex the data.

Upvotes: 1

Related Questions