From 82f645a38e9e2453dee7f46b7b1eb07977cd960b Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Mon, 23 Dec 2024 14:12:24 -0500 Subject: [PATCH] update OpenSearch verison --- .github/workflows/main.yml | 2 +- pygeofilter/backends/opensearch/util.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7983d30..4f00cdf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: - name: Install and run OpenSearch 📦 uses: esmarkowski/opensearch-github-action@v1.0.0 with: - version: 2.12.0 + version: 2.18.0 security-disabled: true port: 9209 - name: Run unit tests diff --git a/pygeofilter/backends/opensearch/util.py b/pygeofilter/backends/opensearch/util.py index 32e4a57..02dce60 100644 --- a/pygeofilter/backends/opensearch/util.py +++ b/pygeofilter/backends/opensearch/util.py @@ -25,7 +25,7 @@ # THE SOFTWARE. # ------------------------------------------------------------------------------ -""" General utilities for the Elasticsearch backend. +""" General utilities for the OpenSearch backend. """ import re @@ -34,7 +34,7 @@ def like_to_wildcard( value: str, wildcard: str, single_char: str, escape_char: str = "\\" ) -> str: - """Adapts a "LIKE" pattern to create an elasticsearch "wildcard" + """Adapts a "LIKE" pattern to create an OpenSearch "wildcard" pattern. """