Dore Elasticsearch Protocol
Protocol name: elasticsearch7
, elasticsearch8
Manifest fields
Field in Manifest | What it represents |
---|---|
Datastore | Cluster |
Model | Index |
Attribute | Field |
Datastore Properties
Manifest path: $.datastores[*].properties
Example
Elasticsearch Datastore properties example | |
---|---|
Fields
-
host
(string) [required]Manifest path:
$.datastores[*].properties.host
Elasticsearch host.
-
port
(string) [required]Manifest path:
$.datastores[*].properties.port
Elasticsearch port.
-
user
(string) [required]Manifest path:
$.datastores[*].properties.user
Elasticsearch username for connecting to the database.
-
password
(string) [required]Manifest path:
$.datastores[*].properties.password
Elasticsearch password for connecting to the database.
Model Properties
Manifest path: $.models[*].properties
Example
Fields
-
indexName
(string) [required]Manifest path:
$.models[*].properties.indexName
Name of the Elasticsearch index that the model corresponds to.
While interacting with the Elasticsearch indexes corresponding to the model, Dore uses this
schemaName
to refer to the schema in the Elasticsearch database.
Attribute Properties
Manifest path: $.models[*].attributes[*].properties
Example
Fields
-
fieldName
(string) [required]Manifest path:
$.models[*].attributes[*].properties.fieldName
Name of the Elasticsearch field that the attribute corresponds to.
-
fieldType
(string) [required]Manifest path:
$.models[*].attributes[*].properties.fieldType
Name of the Elasticsearch field that the attribute corresponds to.
All field data types supported by Elasticsearch are supported here.