Hi:
I want to know how to connect to es5 in the latest mainline code. I read
the es5 theme in the official documentation and mailing list, but I didn't find
the answer.
I tried to connect es5 in the latest mainline code, but it failed.
I modified the es version in pom.xml to be the same as the version in
the calcite 1.16-elasticsearch5 directory (5.5.2), but the compiler will report
an error with the error message: Could not find artifact
org.elasticsearch.client:elasticsearch-rest -client:jar:5.5.2 in central
(https://repo.maven.apache.org/maven2)
My model.json is as follows: {
"version": "1.0",
"defaultSchema": "elasticsearch",
"schemas": [
{
"type": "custom",
"name": "elasticsearch",
"factory":
"org.apache.calcite.adapter.elasticsearch.ElasticsearchSchemaFactory",
"operand": {
"coordinates": "{'10.95.26.17': 9200}"
}
}
]
}