From 913dace148547fd5239f9e1ec1fe768769934f39 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Thu, 16 Nov 2023 14:28:57 +0100 Subject: [PATCH] better go beta1 --- CHANGES.rst | 4 ++-- pyproject.toml | 2 +- src/collective/elastic/ingest/client.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 6de148f..0b4d9df 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,8 +2,8 @@ Changelog ========= -2.0.0 (unreleased) ------------------- +2.0.0b1 (unreleased) +-------------------- - Fix OpenSearch / ElasticSearch switch. [ksuess] - Update example mapping for nested field "NamedBlobFile": diff --git a/pyproject.toml b/pyproject.toml index bbb7474..b18b99d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "collective.elastic.ingest" -version = "2.0.0rc1.dev0" +version = "2.0.0b1.dev0" description = "Ingestion service queue runner between Plone RestAPI and ElasticSearch or OpenSearch." keywords = ["elasticsearch", "opensearch", "plone", "celery", "search", "indexer"] readme = "README.rst" diff --git a/src/collective/elastic/ingest/client.py b/src/collective/elastic/ingest/client.py index ced5e7b..5300bb4 100644 --- a/src/collective/elastic/ingest/client.py +++ b/src/collective/elastic/ingest/client.py @@ -12,6 +12,7 @@ _local_storage = threading.local() + def get_client(index_server_baseurl: str = ""): """index client for query or ingest