An Elasticsearch storage client for Lighthouse4u.
{
store: {
module: 'lighthouse4u-es', options: {
client: {
node: 'http://localhost:9200'
},
index: {
name: 'lh4u',
type: 'lh4u'
}
}
}
}
Option | Type | Default | Desc |
---|---|---|---|
module | string |
required | Set this to lighthouse4u-es
|
options | object |
required | Elasticsearch driver options |
->.client | ESOptions |
See Defaults | Options supplied to driver for connections |
->.index | ESIndexOptions |
See Defaults | Options supplied to driver upon creation of ES index |