Metadata-Version: 2.1
Name: invenio-indexer
Version: 1.2.3
Summary: Record indexer for Invenio.
Home-page: https://github.com/inveniosoftware/invenio-indexer
Author: CERN
Author-email: info@inveniosoftware.org
License: MIT
Keywords: invenio elasticsearch indexing
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Development Status :: 5 - Production/Stable
Requires-Dist: invenio-db (>=1.0.14)
Requires-Dist: invenio-pidstore (>=1.2.0)
Requires-Dist: invenio-records (>=1.4.0)
Requires-Dist: pytz (>=2016.4)
Provides-Extra: all
Requires-Dist: Sphinx (<5,>=4.2.0) ; extra == 'all'
Requires-Dist: attrs (>=17.4.0) ; extra == 'all'
Requires-Dist: pytest-invenio (>=1.4.6) ; extra == 'all'
Requires-Dist: redis (>=3.4.0) ; extra == 'all'
Provides-Extra: docs
Requires-Dist: Sphinx (<5,>=4.2.0) ; extra == 'docs'
Provides-Extra: elasticsearch6
Requires-Dist: invenio-search[elasticsearch6] (>=1.4.0) ; extra == 'elasticsearch6'
Provides-Extra: elasticsearch7
Requires-Dist: invenio-search[elasticsearch7] (>=1.4.0) ; extra == 'elasticsearch7'
Provides-Extra: tests
Requires-Dist: attrs (>=17.4.0) ; extra == 'tests'
Requires-Dist: pytest-invenio (>=1.4.6) ; extra == 'tests'
Requires-Dist: redis (>=3.4.0) ; extra == 'tests'

..
    This file is part of Invenio.
    Copyright (C) 2016-2018 CERN.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

=================
 Invenio-Indexer
=================

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-indexer.svg
        :target: https://github.com/inveniosoftware/invenio-indexer/blob/master/LICENSE

.. image:: https://github.com/inveniosoftware/invenio-indexer/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-indexer/actions?query=workflow%3ACI

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-indexer.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-indexer

.. image:: https://img.shields.io/pypi/v/invenio-indexer.svg
        :target: https://pypi.org/pypi/invenio-indexer


Record indexer for Invenio.

Further documentation is available on
https://invenio-indexer.readthedocs.io/


..
    This file is part of Invenio.
    Copyright (C) 2016-2019 CERN.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

Changes
=======

Version 1.2.3 (released 2022-04-06)

- Add indexer registry and use it in celery tasks.

Version 1.2.2 (released 2022-03-30)

- Add support for Click v8.1+ and Flask v2.1+.

Version 1.2.1 (released 2021-03-05)

- Remove pytest runner from setup dependencies

Version 1.2.0 (released 2020-09-16)

- Changes delete requests to optimistic concurrency control by providing the
  the version and version_type in delete requests. The previous behavior can
  restored by calling
  ``RecordIndexer().delete(record, version=None, version_type=None)`` instead.

- Adds support for using new-style record dumping controlled via the
  ``Record.enable_jsonref`` flag.

Version 1.1.2 (released 2020-04-28)

- Introduces ``RecordIndexer.record_cls`` for customizing the record class.
- Removes Python 2 support.

Version 1.1.1 (released 2019-11-21)

- Fix bulk action parameters compatibility for Elasticsearch v7.

Version 1.1.0 (released 2019-07-19)

- Add support for Elasticsearch v7.
- Integrate index prefixing.
- Add ``before_record_index.dynamic_connect()`` signal utility for more
  flexible indexer receivers.
- Add ``schema_to_index`` utility from ``invenio-search`` (will be removed in
  next minor version of ``invenio-search``).

Version 1.0.2 (released 2019-05-27)

- Allow Elasticsearch indexing arguments to be modified by subscribing to
  ``before_record_index`` signal.

Version 1.0.1 (released 2018-10-11)

- Allow forwarding arguments from ``RecordIndexer.process_bulk_queue`` to
  ``elasticsearch.helpers.bulk`` calls via the ``es_bulk_kwargs`` parameter.

Version 1.0.0 (released 2018-03-23)

- Initial public release.


