The SWAT framework supports the ElasticSearch REST API adapter on the BusinessEntity object level.
To configure a BusinessEntity or DynSelect control to use the ElasticSearch API please use the following repository attribute settings:
Attribute | Value |
---|---|
SUBTYPE | "ElasticSearchCollection" |
resourceName (businessEntity object) or entityName (dynselect object) | The elastic search index. |
entityName (businessEntity object) or entityTable (dynselect object) | The ElasticSearch type, optional attribute. |
By default the base API endpoint is "/web", and can be configured as application setting, the key "elasticSearchBaseURL".
It is also required to create a proxy for the given index.
The setting for the base API endpoint can be configured using the .restapplicationsettings.