cosmocode / dokuwiki-plugin-elasticsearch

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

Index plugin data related to pages but stored elsewhere, e.g. tags in DB #13

Closed annda closed 3 years ago

annda commented 3 years ago

This PR provides new events that allow plugins to save additional page-related data into Elasticsearch index:

In addition, the public helper method \helper_plugin_elasticsearch_plugins::updateRefreshState lets plugins inform elastic that re-indexing is due, even if the page content itself has not changed.

Two more events let plugins integrate into the search itself:

annda commented 3 years ago

Looks good. It's still missing the list of fields the SimpleQuery should search in (and the hook for plugins to extend it), right?

This was added in 0c7a4d0