Revision 49843
Added by Sandro La Bruzzo over 6 years ago
modules/dli-api/trunk/swagger_server/eu/dnetlib/DLIESConnector.py | ||
---|---|---|
24 | 24 |
self.index_host = [x.strip() for x in props['es_index'].split(',')] |
25 | 25 |
print "start with index " + index_name |
26 | 26 |
print index_host |
27 |
self.client = Elasticsearch(hosts=index_host) |
|
27 |
self.client = Elasticsearch(hosts=self.index_host)
|
|
28 | 28 |
self.index_name = index_name |
29 | 29 |
|
30 | 30 |
def create_pid_pidType_query(self, pidType, pid): |
Also available in: Unified diff
changed properties