예제 #1
0
파일: solr.py 프로젝트: dangnammta/zato
    def add_client(self):

        # Make sure everything is OK
        ping_solr(self.config)

        # Create a client now
        self.client.put_client(Solr(self.config.address, timeout=self.config.timeout))
예제 #2
0
파일: solr.py 프로젝트: Aayush-Kasurde/zato
    def add_client(self):

        # Make sure everything is OK
        ping_solr(self.config)

        # Create a client now
        self.client.put_client(Solr(self.config.address, timeout=self.config.timeout))
예제 #3
0
 def ping(self, instance):
     ping_solr(instance)
예제 #4
0
파일: solr.py 프로젝트: Aayush-Kasurde/zato
 def ping(self, instance):
     ping_solr(instance)