Aller au contenu principal
Jahia Store
FR

Elasticsearch Connector

supported
Télécharger 4.1.0

Informations

Identifiant du module
elasticsearch-connector
Identifiant de groupe
org.jahia.modules
Statut
supported
Catégorie
Search
Auteur
JSG
Site web du développeur
http://www.jahia.com
Nécessite Jahia
8.2.0.0
Mis à jour
2026-07-09
Source
scm:git:git@github.com:Jahia/elasticsearch-connector.git
Étiquettes
  • elasticsearch
  • search
  • cluster

This module provides access to Elasticsearch Java High-Level client.

Starting from version 2.0.0 and up, this module act as a replacement for Elasticsearch Connector 7 and provides access to recent versions of Elasticsearch client.

Versions

Bug fixes

  • Fixed authentication strategy implementation to avoid duplicate requests
Nécessite Jahia 8.2.0.0Mis à jour 2026-04-17

Bug fixes

  • Added custom TLS settings in development mode
Nécessite Jahia 8.2.0.0Mis à jour 2025-12-05

Breaking changes

The introduction of Elasticsearch 9x support meant support for Elasticsearch 7x and for JDK 11 had to be dropped. As a result, make sure to upgrade to Elasticsearch 9x and JDK 17 before starting elasticsearch-connector 4.0.0

The upgrade to Elasticsearch9x required a refactoring of the connection service API, here are some related changes:

  • Config name change from org.jahia.modules.elasticsearch_config.cfg to org.jahia.modules.elasticsearchConnector.cfg
  • Config prefix changed from org.jahia.modules.elasticsearch-connector to elasticsearchConnector
  • Password field now requires to be encoded (use EncryptionUtils.passwordBaseEncrypt in groovy console)
  • Package name for ES service changed from org.jahia.modules.elasticsearchconnector.**rest** to org.jahia.modules.elasticsearchconnector.**service**
  • ElasticsearchConnection moved to .config package and renamed to ElasticsearchConnectionConfig
  • Removed package exports of org.elasticsearch from elasticsearch-rest-high-level-client maven package and replaced it with co.elasticsearch.* from elasticsearch-java maven package.

Also note that now the connector only exposes one connection at a time, the following script can be used to migrate an existing connection: migrateConnectionNode.started.groovy

New features and improvements

  • Upgrade Elasticsearch from 7.13.2 to 9.1.3
  • Remove database connector dependency
  • Add manual migration script from 3.4.0 to 4.0.0
  • Set node sniffing interval default to disabled
  • Export jakarta json library

Bug fixes

  • Create authentication scope to match all hosts/ports
  • Remove jackson package export to prevent any conflict with provided one from Jahia core
Nécessite Jahia 8.2.0.0Mis à jour 2025-11-19

New Features and Improvements

  • Wait for the node types definition to be synchronized before querying the JCR with the node type ec:elasticsearchConnection
  • Upgraded gson library from 2.8.7 to 2.12.1
  • Updated jackson-dataformat-yaml dependency to use the version provided by Jahia
Nécessite Jahia 8.1.6.0Mis à jour 2025-03-10

Bug fixes

  • Added an optional import of elasticsearch packages and cleaned-up the import-package list
Nécessite Jahia 8.1.6.0Mis à jour 2024-07-25

Improvements

  • Updated the module to be compatible with Jahia 8.2

Bug fixes

  • Activated keep-alive on the connection
  • Fixed an issue resulting in JSON connection data being present in the Jahia logs when the connection to elasticsearch was failing. 
Nécessite Jahia 8.1.6.1Mis à jour 2024-07-25
  • Added a new Jahia property "elasticsearch.prefix" to define a prefix for ElasticSearch index name
  • Updated Jackson dependency to use the version provided by Jahia (from 2.9.0 to 2.10.5)
  • Updated Log4j dependency to use the version provided by Jahia (from 2.11.2 to 2.17.1)
  • Upgraded HttpClient from 4.5.10 to 4.5.13
Nécessite Jahia 8.1.0.0Mis à jour 2022-06-08
  • Updated log4j2 dependency to use the version from Jahia Core
Nécessite Jahia 8.1.0.0Mis à jour 2022-01-07
  • Upgraded guava from 15.0 to 30.1.1-jre
Nécessite Jahia 8.1.0.0Mis à jour 2021-11-08
  • Upgraded Elasticsearch client to v7.13.2
  • Implemented support for having both elasticsearch-connector-7 and elasticsearch-connector running on the same platform.
Nécessite Jahia 8.0.0.0Mis à jour 2021-07-10
  • Added a new Jahia property "elasticsearch.prefix" to define a prefix for ElasticSearch index name
  • Updated Jackson dependency to use the version provided by Jahia (from 2.9.0 to 2.9.10)
  • Upgraded HttpClient from 4.5.10 to 4.5.13
Nécessite Jahia 7.3.5.0Mis à jour 2022-06-08
  • Upgraded log4j2 to 2.17
Nécessite Jahia 7.3.5.0Mis à jour 2022-01-10
  • Upgraded Elasticsearch client to v7.13.2
  • Implemented support for having both elasticsearch-connector-7 and elasticsearch-connector running on the same platform.
Nécessite Jahia 7.3.5.0Mis à jour 2021-07-06
  • Upgraded log4j2 to 2.16
  • Upgraded Elasticsearch client to 5.6.16

Note that the module has been compiled using BND 6.1.0 and Jahia Plugin 5.18. Also note that it needs JDK 8

Nécessite Jahia 7.2.1.0Mis à jour 2021-12-17
Nécessite Jahia 7.2.1.0Mis à jour 2019-07-12
Nécessite Jahia 7.2.1.0Mis à jour 2019-04-11
Nécessite Jahia 7.2.1.0Mis à jour 2018-11-02
Nécessite Jahia 7.2.1.0Mis à jour 2018-11-01