OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:elasticsearch
(Results
1 - 4
of
4
) sorted by null
/external/autotest/client/common_lib/cros/graphite/
elasticsearch_mock_unittest.py
5
import elasticsearch_mock as
elasticsearch
namespace
10
self.es =
elasticsearch
.
Elasticsearch
(host='host',
16
"""Test mock
Elasticsearch
.index method"""
21
"""Test mock
Elasticsearch
.indices.exists method"""
26
"""Test mock
Elasticsearch
.indices.delete method"""
31
"""Test mock
Elasticsearch
.search method"""
36
"""Test mock
elasticsearch
.ElasticsearchException method"""
38
raise
elasticsearch
.ElasticsearchException('error message')
39
except
elasticsearch
.ElasticsearchException as e
[
all
...]
es_utils.py
5
# This file defines helper functions for putting entries into
elasticsearch
.
7
"""Utils for sending metadata to
elasticsearch
9
Elasticsearch
is a key-value store NOSQL database.
10
Source is here: https://github.com/
elasticsearch
/
elasticsearch
61
intended
elasticsearch
server.
72
import
elasticsearch
namespace
73
from
elasticsearch
import helpers as elasticsearch_helpers
75
logging.debug('Failed to import
elasticsearch
. Mock classes will be used '
namespace
76
'and calls to
Elasticsearch
server will be no-op. Test run
78
import
elasticsearch
_mock as
elasticsearch
namespace
[
all
...]
es_test_utils.py
5
"""Helper functions for testing stats module and
elasticsearch
13
import
elasticsearch
namespace
99
@param host:
elasticsearch
host
100
@param port:
elasticsearch
port
108
es =
elasticsearch
.
Elasticsearch
(host=host,
/external/autotest/site_utils/
es_reindex.py
27
from
elasticsearch
import
Elasticsearch
28
from
elasticsearch
import helpers
59
client =
Elasticsearch
(hosts=[{'host': options.host, 'port': options.port}])
Completed in 1122 milliseconds