modulepackage
1.2.10
Repository: https://github.com/apache/answer-plugins.git
Documentation: pkg.go.dev
# README
Elasticsearch Engine (preview)
The default Answer uses a built-in database such as MySQL as its search engine. However, when dealing with large amounts of data, the speed and accuracy of searches can be affected. Therefore, we provide a plugin that uses Elasticsearch as the search engine, which greatly improves search speed and accuracy.
How to use
Build
./answer build --with github.com/apache/answer-plugins/search-elasticsearch
Configuration
Endpoints
- Elasticsearch connection address, such as http://127.0.0.1:9200 or multiple addresses separated by ','Username
- Elasticsearch usernamePassword
- Elasticsearch password
Note
- Only support Elasticsearch 7.x
- Index name is
answer_post
. It will create automatically if not exists. - You also can create index manually if you want to specify
search_analyzer
or other settings(replicas and shards).
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
go:embed info.yaml.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Operator elasticsearch client only support basic functions, not support bulk operations.
No description provided by the author
No description provided by the author
No description provided by the author