debeir.engines.dummyindex.index

 1import elasticsearch
 2
 3
 4class DummyIndex:
 5    def get_documents(self):
 6        pass
 7
 8    def query(self):
 9        pass
10
11    def scorer(self):
12        pass
13
14
15async def es_isup(es_client: elasticsearch.AsyncElasticsearch):
16    return await es_client.ping()
class DummyIndex:
 5class DummyIndex:
 6    def get_documents(self):
 7        pass
 8
 9    def query(self):
10        pass
11
12    def scorer(self):
13        pass
DummyIndex()
def get_documents(self):
6    def get_documents(self):
7        pass
def query(self):
 9    def query(self):
10        pass
def scorer(self):
12    def scorer(self):
13        pass
async def es_isup(es_client: elasticsearch.AsyncElasticsearch):
16async def es_isup(es_client: elasticsearch.AsyncElasticsearch):
17    return await es_client.ping()