diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py index 3acb9291c2aab..8fdd0f5c3a808 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py @@ -634,7 +634,7 @@ def _is_efficient_filtering_enabled(self) -> bool: ef_enabled = False else: self._os_version = self._get_opensearch_version() - major, minor, patch = self.os_version.split(".") + major, minor, patch = self._os_version.split(".") ef_enabled = int(major) >= 2 and int(minor) >= 9 return ef_enabled diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml index db6d509ebb7b7..6231794f8b1f8 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml @@ -27,7 +27,7 @@ exclude = ["**/BUILD"] license = "MIT" name = "llama-index-vector-stores-opensearch" readme = "README.md" -version = "0.5.1" +version = "0.5.2" [tool.poetry.dependencies] python = ">=3.9,<4.0"