OdooWiki OCA HUB

connector_elasticsearch

connector_elasticsearch folder_open OCA/search-engine open_in_new
Connector License: AGPL-3

This addon provides the bases to implement addons to export information to Elasticsearch indexes.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Elasticsearch as a search engine backend in Odoo, letting you configure the connection and manage indexes that are exported to an Elasticsearch server.

This module extends the search engine connector so that Elasticsearch can be used as the search backend. On the search backend form (the same screen used for other search engines), a new backend type "ElasticSearch" becomes available. When selected, extra fields appear to set the server host, authentication method (HTTP user/password or API key), SSL verification, timeout, maximum retries and whether to retry on timeout.

  • The host is required for Elasticsearch backends.
  • Authentication can be done with an HTTP user and password, or with an API key ID and API key.
  • SSL certificate verification is on by default and should only be turned off in development.
  • Timeout, retries and retry-on-timeout control how the connection behaves when the server is slow or fails.

For each index definition, if the backend is Elasticsearch, an index configuration is mandatory; otherwise Odoo raises a validation error. The module also provides the technical adapter that connects to Elasticsearch: it can test the connection, create the index and its alias, index records in bulk, delete records, clear an index, read all records, and perform a rolling reindex by creating a new index version, copying data, switching the alias and removing the old index. These operations are used by the search engine connector when exporting or synchronising data.

Required by other modules

Models and fields (2)
  • se.index · extends an existing model
  • se.backend · extends an existing modelssl, api_key, es_user, auth_type, api_key_id (Api Key ID), es_timeout (Elasticsearch timeout), es_password, backend_type (Type), es_max_retries (Elasticsearch max retries), es_server_host (ElasticSearch host), es_retry_on_timeout (Elasticsearch retry on timeout)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/search-engine.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.