Re: How to stop searches to solr while full data import is going in SOLR

2016-05-25 Thread preeti kumari
Thanks Jeff and Erick. We figured to do document feeding on other port while previous port is shut down for load balancer. Once done we switch ports of solr. Regards Preeti On Mon, May 23, 2016 at 10:58 PM, Jeff Wartes wrote: > The PingRequestHandler contains support for a file check, which al

Re: How to stop searches to solr while full data import is going in SOLR

2016-05-23 Thread Jeff Wartes
The PingRequestHandler contains support for a file check, which allows you to control whether the ping request succeeds based on the presence/absence of a file on disk on the node. http://lucene.apache.org/solr/6_0_0/solr-core/org/apache/solr/handler/PingRequestHandler.html I suppose you could

Re: How to stop searches to solr while full data import is going in SOLR

2016-05-20 Thread Erick Erickson
There really isn't any good way to do this built in that I know of. If your "clusters" are separate Solr collections (SolrCloud), you can use collection aliasing to point queries at one or the other atomically. This presumes you have some control over when DIH runs however. The idea is that you h

How to stop searches to solr while full data import is going in SOLR

2016-05-18 Thread preeti kumari
Hi, I am using solr 5.2.1. I have two clusters Primary A and Primary B. I was pinging servers to check whether they are up or not to route the searches to working cluster A or B. But while I am running Full data import in Primary cluster A , There is not all the data and pinging servers will not