Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
Introduction
Introduction
1300 Elasticsearch

Since Wedia 11.3.0, the full text search is based on ElasticSearch. The objective is to be able to respond more easily and quickly to different problems such as multilingual management, load sharing, content denormalization for the following purposes optimize the search. In addition, SQL criteria, fulltext and security rules are now directly managed by ElasticSearch, which solves performance and consistency problems when using ElasticSearch.


Anchor
Prerequisites
Prerequisites
1300 Elasticsearch

Support for major versions of ElasticSearch depends on the Wedia version :

  • WEDIA 11.3: ElasticSearch 1.7

  • WEDIA 11.6: ElasticSearch 1.7, 2.x and 5.x

  • WEDIA 11.9: ElasticSearch 5.x recommended.

The ElasticSearch support for versions prior to 5 will be dropped in 2018.


Anchor
Installation
Installation
1300 Elasticsearch

The basic installation consists of downloading the latest version of ElasticSearch and starting it on a server. The ElasticSearch instance can be deployed locally on the Wedia server or on another server accessible by the latter. It is also possible and advisable to deploy an entire ElasticSearch cluster in production.

Once the ElasticSearch server is started, just go to the Wedia system settings (/admin/ebnAdminstration.ebn) and enter the URL of one of the ElasticSearch servers, the name of the index to use and the default indexing language. The default language is the parsing language for text fields that do not have language information such as non-internationalized fields or the default field for internalized fields. This section will be described later in this documentation.


Info
titleNote

It is not necessary to create the ElasticSearch index in advance. The Wedia engine automatically takes care of this. However, care should be taken not to provide the name of an existing index for another application as it will be cleaned of any unnecessary mapping and configuration when using WXM.



Below: an example of configuration.

Anchor
Check ElasticSearch indexation
Check ElasticSearch indexation
1300 Elasticsearch

ElasticSearch indexing has its own administration screen:
/administration/ElasticSearch.

...