Skip to main content

"Invenio module for information retrieval."

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-search.svg https://github.com/inveniosoftware/invenio-search/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-search.svg https://img.shields.io/pypi/v/invenio-search.svg

Search management for Invenio (for Elasticsearch and OpenSearch).

Features:

  • Allows Invenio modules to register indexes, aliases and index templates.

  • Manages the creation and deletion of indices, aliases and templates.

  • API for providing stable searches (e.g. prevents bouncing of search results).

  • Maps JSONSchema URLs to Elasticsearch/OpenSearch indexes.

  • Supports Elasticsearch v7 and OpenSearch v1.

Further documentation is available at https://invenio-search.readthedocs.io/.

Changes

Version v3.1.2 (released 2025-11-18)

  • fix(check): correct issue with compatibility check of 3.1.1

Version v3.1.1 (released 2025-10-17)

  • fix(cli): allow compatible OSv2 client with OSv3 cluster
    • The OpenSearch v2.x client is compatible with both the OpenSearch v2 and v3 cluster versions.

Version 3.1.0 (released 2025-07-01)

  • fix: pkg_resources DeprecationWarning

Version 3.0.0 (released 2024-12-06)

  • setup: change to reusable workflows

  • setup: bump major dependencies

Version v2.4.1 (released 2024-08-07)

  • fix: avoid closing db session

Version v2.4.0 (released 2024-08-02)

  • cli: add “–check/–no-check” flag for mapping updates

  • ext: report attempted mappings update on failure (#224)

Version 2.3.1 (released 2024-03-04)

  • search: The component_templates do not need to specify the SEARCH_INDEX_PREFIX

Version 2.3.0 (released 2024-02-26)

  • search: Add options for component_templates and index_templates

Version 2.2.1 (released 2024-02-19)

  • ext: fix update mapping comparison

Version 2.2.0 (released 2023-04-06)

  • cli: adds interface for updating mappings

Version 2.1.0 (released 2022-10-03)

  • Adds support for OpenSearch v2

Version 2.0.0 (released 2022-09-22)

  • Removes Elasticsearch < v7

  • Adds support for OpenSearch v1

Version 1.4.2 (released 2021-07-20)

  • Pin elasticsearch to lower than 7.14 due to built in product check.

Version 1.4.1 (released 2020-10-19)

  • Fix bouncing search results for BaseRecordSearchV2.

Version 1.4.0 (released 2020-09-18)

  • Adds new search class that can be initialised only from arguments to the constructor.

Version 1.3.1 (released 2020-05-07)

  • Set Sphinx <3.0.0 because of errors related to application context.

  • Stop using example app, keep only files referenced in the docs.

Version 1.3.0 (released 2020-03-10)

  • Centralize dependency management via Invenio-Base.

Version 1.2.4 (released 2020-05-07)

  • Set Sphinx <3.0.0 because of errors related to application context.

  • Stop using example app, keep only files referenced in the docs.

Version 1.2.3 (released 2019-10-07)

  • Changes the naming strategy for templates to avoid inclusion of slashes (“/”)

Version 1.2.2 (released 2019-08-08)

  • Adds option ignore_existing which is ignoring indexes which are already in ES.

  • Adds option to create/delete only selected indexes.

Version 1.2.1 (released 2019-07-31)

  • Unpins urllib3 and idna since requests is not a direct dependency of the package now.

Version 1.2.0 (released 2019-07-29)

  • Adds full Elasticsearch v7 support

  • Better prefixing integration

  • Introduces index suffixes and write aliases

  • Refactored the way indices and aliases are stored and created

  • invenio_search.utils.schema_to_index is deprecated (moved to invenio-indexer)

  • Deprecates Elasticsearch v5

Version 1.1.1 (released 2019-06-25)

  • Fixes prefixing for whitelisted aliases and the RecordSearch class.

  • Adds basic Elasticsearch v7 support.

Version 1.1.0 (released 2019-02-25)

  • Deprecates Elasticsearch v2

  • Adds support for Elasticsearch indices prefix

Version 1.0.2 (released 2018-10-23)

  • Updates the urllib3 dependency version pin.

  • Pins elasticsearch-dsl to <6.2.0, because of a breaking change in the handling of empty queries.

  • Adds the SEARCH_CLIENT_CONFIG configuration variable, allowing more complex configuration to be passed to the Elasticsearch client initialization.

Version 1.0.1 (released 2018-06-13)

  • Fixes issues with idna/urllib3 dependencies conflicts.

  • Adds SEARCH_RESULTS_MIN_SCORE configuration variable to allow excluding search results which have a score less than the specified value.

Version 1.0.0 (released 2018-03-23)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio_search-3.1.2.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_search-3.1.2-py2.py3-none-any.whl (26.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_search-3.1.2.tar.gz.

File metadata

  • Download URL: invenio_search-3.1.2.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for invenio_search-3.1.2.tar.gz
Algorithm Hash digest
SHA256 8edfc9eca1506ed841a861231b29ce374770db0862490346cc3d327b8e6dd440
MD5 46b649a3039f1c2dd0d19e3e2d80a1ef
BLAKE2b-256 8251fc1108453d09cdc5a2c257624e5d7055090b77d49e63a4f921d6d511120c

See more details on using hashes here.

File details

Details for the file invenio_search-3.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_search-3.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5c714fe51d2a103b95725088dad433af6ef531d4a01230d850bfeb50f641ef6c
MD5 2af7732c1c6395db21d85893f26a6658
BLAKE2b-256 6f04eca8047b8aae592f7e0726debc02bc26ca25b4909c6940b66d2d867957be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page