Message-ID: <136938767.4032.1485856422427.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4031_1795724409.1485856422427" ------=_Part_4031_1795724409.1485856422427 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
EXPERIMENTAL
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-m= aster" version of eZ Platform, and not available to any version of eZ Publi= sh Platform 5.x.
Given it is experimental, it is currently not professionally supported= p>
First, activate the Elasticsearch Search Engine Bundle (eZ\Bundle\E=
zPublishElasticsearchSearchEngineBundle\EzPublishElasticsearchSearchEngineB=
undle) in your ezpublish/EzPublishKernel.php
class f=
ile.
Then configure your search engine in ezpublish.yml
Example:
ez_search_engine_elasticsearch: default_connection: es_connection_name connections: es_connection_name: server: http://localhost:9200 index_name: ezpublish document_type_name: content: content location: location=20
For further information on the ElasticSearch integration in eZ Platform,= find the default configuration&= nbsp;and mappings for Content and Lo= cation type documents (Note: Content/Location modeling will most likely= be simplified in the future, like in Solr search engine bundle).
The following is an example of c=
onfiguring ElasticSearch Search Engine, where connection
name =
is same as in example above, and engine is set to be elas=
ticsearch
:
ezpublish: repositories: main: storage: engine: legacy connection: default search: engine: elasticsearch connection: es_connection_name=20
Last step is to execute initial indexation of data:
php ezpublish/console ezplatform:elasticsearch_create_index= =20