Semantic MediaWiki and related extensions
|
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/src/Elastic/docs/usage.md "Usage" | https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/src/Elastic/docs/config.md "Settings" | https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/src/Elastic/docs/technical.md "Technical notes" | https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/src/Elastic/docs/faq.md "FAQ"
To use the ElasticStore
(hereby Elasticsearch) as a drop-in replacement for the existing SQLStore
based QueryEngine
the following settings require some changes:
Set
$GLOBALS['smwgElasticsearchEndpoints'] = [ ... ];(see the [documentation][es:conf:hosts] for how to maintain inline or extended host parameters as it takes the same attributes as outlined in the official documentation, or see a [configuration example][conf:example])
Run
php setupStore.php<tt>orphp update.php<tt>It is recommended to consult the official documentation for Elasticsearch specific settings and configurations.
#ask
syntax in combination with the Elasticsearch specific query execution.