connector_elasticsearch

in search-engine · source on GitHub

Connector For Elasticsearch Search Engine

Category: Connector · ACSONE SA/NV · AGPL-3

16.0✗Install error
17.0×Not in this series
18.0✗Install error
19.0×Not in this series
20.0×Not in this series
SeriesStatusDetailsCode
16.0✗Install errorUNRECOGNISED: TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType' · run 2026-08-27on GitHub
17.0—Not testedno branch
18.0✗Install errorUNRECOGNISED: AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. · run 2026-08-26on GitHub
19.0—Not testedno branch
20.0—Not testedno branch

The module’s code on 18.0

Lines of codepython 472 · xml 58
Testsyes: 1 file(s), 74 lines
Migration scriptsno
Models0 new · 2 extensions

Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree fb4054256a5e.

The apps.odoo.com catalogue has a listing under the same technical name on 16.0, 18.0: apps.odoo.com/apps/modules/18.0/connector_elasticsearch. A matching name does not prove matching code — how we counted this.

Depends on

ModuleStatusChecked
connector_search_engine✓Installs2026-09-24

External dependencies

Checked against modidx/odoo:18.0-deps-20260820.

KindPackageIn our image
pythonelasticsearch>=7.0.0,<=7.13.4in image
pythonrequestsin image

Depended on by

1 module on 18.0 declares this one as a dependency.

History

Last change2026-05-27
Code commits, 12 months4
Most activeSimone Orsi, Sébastien BEAU, Laurent Mignon (ACSONE)
Files26

Translation and bot commits are excluded from the commit count.

Install log 18.0

Warn: Can't find .pfb for face 'Courier'
2026-08-26 19:31:06,597 1 CRITICAL job_843dbcaad1f1 odoo.modules.module: Couldn't load module connector_elasticsearch 
2026-08-26 19:31:06,609 1 WARNING job_843dbcaad1f1 odoo.modules.loading: Transient module states were reset 
2026-08-26 19:31:06,609 1 ERROR job_843dbcaad1f1 odoo.modules.registry: Failed to load registry 
2026-08-26 19:31:06,609 1 CRITICAL job_843dbcaad1f1 odoo.service.server: Failed to initialize database `job_843dbcaad1f1`. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 489, in load_modules
    processed_modules += load_marked_modules(env, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 365, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 186, in load_module_graph
    load_openerp_module(package.name)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 384, in load_openerp_module
    __import__(qualname)
  File "/mnt/pool/connector_elasticsearch/__init__.py", line 1, in <module>
    from . import models
  File "/mnt/pool/connector_elasticsearch/models/__init__.py", line 1, in <module>
    from . import se_backend
  File "/mnt/pool/connector_elasticsearch/models/se_backend.py", line 6, in <module>
    from ..tools.adapter import ElasticSearchAdapter
  File "/mnt/pool/connector_elasticsearch/tools/__init__.py", line 1, in <module>
    from . import adapter
  File "/mnt/pool/connector_elasticsearch/tools/adapter.py", line 18, in <module>
    import elasticsearch
  File "/usr/local/lib/python3.12/dist-packages/elasticsearch/__init__.py", line 32, in <module>
    from .client import Elasticsearch
  File "/usr/local/lib/python3.12/dist-packages/elasticsearch/client/__init__.py", line 22, in <module>
    from ..transport import Transport, TransportError
  File "/usr/local/lib/python3.12/dist-packages/elasticsearch/transport.py", line 23, in <module>
    from .serializer import JSONSerializer, Deserializer, DEFAULT_SERIALIZERS
  File "/usr/local/lib/python3.12/dist-packages/elasticsearch/serializer.py", line 50, in <module>
    np.float_,
    ^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/numpy/__init__.py", line 763, in __getattr__
    raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.

Install log 16.0

2026-08-27 08:05:51,542 1 CRITICAL job_46c4c51666b6 odoo.modules.module: Couldn't load module connector_search_engine 
2026-08-27 08:05:51,543 1 CRITICAL job_46c4c51666b6 odoo.modules.module: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType' 
2026-08-27 08:05:51,547 1 WARNING job_46c4c51666b6 odoo.modules.loading: Transient module states were reset 
2026-08-27 08:05:51,547 1 ERROR job_46c4c51666b6 odoo.modules.registry: Failed to load registry 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 190, in load_module_graph
    load_openerp_module(package.name)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 471, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/mnt/pool/connector_search_engine/__init__.py", line 5, in <module>
    from . import models  # pragma: no cover
  File "/mnt/pool/connector_search_engine/models/__init__.py", line 7, in <module>
    from . import se_index
  File "/mnt/pool/connector_search_engine/models/se_index.py", line 19, in <module>
    class SeIndex(models.Model):
  File "/mnt/pool/connector_search_engine/models/se_index.py", line 220, in SeIndex
    self, force_export: bool = False, binding_ids: list[int] | None = None
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType'
2026-08-27 08:05:51,550 1 CRITICAL job_46c4c51666b6 odoo.service.server: Failed to initialize database `job_46c4c51666b6`. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1333, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "<decorator-gen-16>", line 2, in new
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 190, in load_module_graph
    load_openerp_module(package.name)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 471, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/mnt/pool/connector_search_engine/__init__.py", line 5, in <module>
    from . import models  # pragma: no cover
  File "/mnt/pool/connector_search_engine/models/__init__.py", line 7, in <module>
    from . import se_index
  File "/mnt/pool/connector_search_engine/models/se_index.py", line 19, in <module>
    class SeIndex(models.Model):
  File "/mnt/pool/connector_search_engine/models/se_index.py", line 220, in SeIndex
    self, force_export: bool = False, binding_ids: list[int] | None = None
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType'

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-10-07 15:00 UTC · build 4aa2dbe · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Privacy · Terms

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.