def search_index_simple(self,index,key,search_term):
        '''
        Search the index using a simple key and search_term
        @param index Name of the index
        @param key Search Key
        @param search_term The term to be searched for
        '''
        request = self.session
        url = 'http://%s:%s/%s/_search?q=%s:%s' % (self.host,self.port,index,key,search_term)
        response = request.get(url)
        return response
def search_index_simple ( self , index , key , search_term ) : request = self . session url = 'http://%s:%s/%s/_search?q=%s:%s' % ( self . host , self . port , index , key , search_term ) response = request . get ( url ) return response
Search the index using a simple key and search_term
        @param index Name of the index
        @param key Search Key
        @param search_term The term to be searched for