plugin:elasticsearch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:elasticsearch [2019-09-12 21:22] – http://github to https://github Aleksandr | plugin:elasticsearch [2021-06-13 14:21] – Better description michaelsy | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : action | type : action | ||
- | lastupdate : 2019-07-31 | + | lastupdate : 2021-06-10 |
- | compatible : Greebo | + | compatible : Greebo, Hogfather |
depends | depends | ||
conflicts | conflicts | ||
Line 26: | Line 26: | ||
:!: **External requirements: | :!: **External requirements: | ||
- | * [[https:// | + | * [[https:// |
Install the plugin using the [[plugin: | Install the plugin using the [[plugin: | ||
Line 38: | Line 38: | ||
All [[acl|access rights]] are respected, so users will only find pages for which they have at least read privileges. | All [[acl|access rights]] are respected, so users will only find pages for which they have at least read privileges. | ||
- | You can use the Advanced Search Tools to filter the results by namespace and date of the last modification. | + | You can use the Advanced Search Tools to filter the results by namespace and date of the last modification. |
+ | If the [[plugin: | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
- | To integrate this plugin, you will need to dp some configuration and run a few commands on the command line. | + | To integrate this plugin, you will need to do some configuration and run a few commands on the command line. |
- enter the configuration of your Elasticsearch server in the [[plugin: | - enter the configuration of your Elasticsearch server in the [[plugin: | ||
Line 59: | Line 60: | ||
The name of the index is determined by the configuration. | The name of the index is determined by the configuration. | ||
+ | === Re-creating the index === | ||
+ | |||
+ | Sometimes it is necessary to throw away the old index and replace it with a new one. This can be done via the same DokuWiki script with an additional parameter: | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | </ | ||
==== Languages and fuzzy search ==== | ==== Languages and fuzzy search ==== | ||
Line 69: | Line 77: | ||
If you have configured multiple languages using the [[plugin: | If you have configured multiple languages using the [[plugin: | ||
- | At present there is no special filter that would let the user search | + | By default all available translation are searched. Users can change the language selection in Advanced Search Tools. |
+ | |||
+ | You can also enable translation detection in the plugin configuration. The option | ||
==== Index management ==== | ==== Index management ==== | ||
Line 80: | Line 90: | ||
./ | ./ | ||
</ | </ | ||
+ | |||
+ | ===== Other plugins ===== | ||
+ | |||
+ | The [[plugin: | ||
===== Development ===== | ===== Development ===== | ||
+ | |||
+ | ==== Plugin integration ==== | ||
+ | |||
+ | Elasticsearch emits several events that can be used by other plugins to put their own data into the search index. Take a look at the implementation [[plugin: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
==== Commit-Ticker ==== | ==== Commit-Ticker ==== | ||
Line 94: | Line 118: | ||
* search a specific language | * search a specific language | ||
* exact match (non-fuzzy search) | * exact match (non-fuzzy search) | ||
- | * integration of the [[plugin: | ||
plugin/elasticsearch.txt · Last modified: 2024-02-15 12:01 by Aleksandr