The search configuration section configures the Loupe Server to use an external Elasticsearch server for full text search. Elasticsearch is required to use certain features in Loupe Monitor and is required for full text search in Loupe Enterprise Edition. The following options can be specified:
Option | Description | Default Value | Required |
---|---|---|---|
serverUris | One or more URIs for the Elasticsearch cluster endpoints. If set, Elasticsearch will be used instead of the repository SQL database. | "" | true |
userName |
Optional. The user to authenticate with. Set this property to enable basic authentication. |
"" | false |
password |
Optional. The password to authenticate with. If a UserName is set a password must be provided. |
"" | false |
The Server.Config file is an XML formatted file with a section for email.
Server.Config |
Copy Code
|
---|---|
<?xml version="1.0" encoding="utf-8"?> <gibraltar> <search serverUris="https://your.elastic.server:9200;https://your.second.elastic.server:9200" /> </gibraltar> |
To set the configuration through environment variables (like for hosting in an Azure App Service), the configuration items use the format:
Loupe__Server__Search__{Option}
For example, to set the list of Elasticsearch endpoint URIs use Loupe__Server__Search__ServerUris