Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 

ElasticSearch exists only as a technology preview, we welcome people to try it and help make it better. Latests version is only available in "dev-master" version of eZ Platform, and not available to any version of eZ Publish Platform 5.x.

Given it is experimental, it is currently not professionally supported

How to use ElasticSearch Search engine

Step 1: Enabling Bundle

First, activate the Elasticsearch Search Engine Bundle (eZ\Bundle\EzPublishElasticsearchSearchEngineBundle\EzPublishElasticsearchSearchEngineBundle) in your ezpublish/EzPublishKernel.php class file.

Step 2: Configuring Bundle

Then configure your search engine in ezpublish.yml

Example:

ezpublish.yml

For further information on the ElasticSearch integration in eZ Platform, find the default configuration and mappings for Content and Location type documents (Note: Content/Location modeling will most likely be simplified in the future, like in Solr search engine bundle).

Step 3: Configuring repository

The following is an example of configuring ElasticSearch Search Engine, where connection name is same as in example above, and engine is set to be elasticsearch:

 

ezpublish.yml

 

Step 4: Run CLI indexing command

Last step is to execute initial indexation of data:

 

 

  • No labels