cosmocode / dokuwiki-plugin-elasticsearch

Integrate an external Elasticsearch engine into DokuWiki
https://www.dokuwiki.org/plugin:elasticsearch
4 stars 6 forks source link

Use rendered content instead of raw syntax if possible #12

Closed annda closed 3 years ago

annda commented 3 years ago

Prerequisite: text plugin.

If it is installed, the rendered page text will be indexed as content. Raw wiki syntax will still be indexed in an additional field syntax for possible future use, e.g. "Search in wiki syntax" option in advanced search. This option is not part of this PR.

annda commented 3 years ago

At the moment the language analyzers are defined in the field mapping of content. I could extend the CLI tools to map analyzers to the text field as well. AFAIK the mapping step can be repeated on an existing index. @splitbrain Do you think it's a good idea?

The field to create result snippets from can already be changed in the plugin configuration.