wikijs-fork/server/modules/search/elasticsearch/definition.yml

57 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2018-09-01 03:42:14 +00:00
key: elasticsearch
title: Elasticsearch
description: Elasticsearch is a distributed, RESTful search and analytics engine capable of solving a growing number of use cases.
author: requarks.io
logo: https://static.requarks.io/logo/elasticsearch.svg
website: https://www.elastic.co/products/elasticsearch
2019-03-23 22:18:36 +00:00
isAvailable: true
2019-03-09 05:51:02 +00:00
props:
apiVersion:
type: String
title: Elasticsearch Version
2019-03-09 05:51:02 +00:00
hint: Should match the version of the Elasticsearch nodes you are connecting to
order: 1
enum:
- '7.x'
- '6.x'
default: '6.x'
2019-03-23 22:18:36 +00:00
hosts:
2019-03-09 05:51:02 +00:00
type: String
title: Host(s)
hint: Comma-separated list of Elasticsearch hosts to connect to, including the port, username and password if necessary. (e.g. http://localhost:9200, https://user:pass@es1.example.com:9200)
2019-03-09 05:51:02 +00:00
order: 2
verifyTLSCertificate:
title: Verify TLS Certificate
type: Boolean
default: true
order: 3
tlsCertPath:
title: TLS Certificate Path
type: String
hint: Absolute path to the TLS certificate on the server.
order: 4
2019-03-23 22:18:36 +00:00
indexName:
type: String
title: Index Name
hint: The index name to use during creation
default: wiki
order: 5
analyzer:
type: String
title: Analyzer
hint: 'The token analyzer in elasticsearch'
default: simple
order: 6
2019-03-23 22:18:36 +00:00
sniffOnStart:
2019-03-09 05:51:02 +00:00
type: Boolean
title: Sniff on start
hint: 'Should Wiki.js attempt to detect the rest of the cluster on first connect? (Default: off)'
default: false
order: 7
2019-03-09 05:51:02 +00:00
sniffInterval:
type: Number
title: Sniff Interval
hint: '0 = disabled, Interval in seconds to check for updated list of nodes in cluster. (Default: 0)'
default: 0
order: 8