llama-index-vector-stores-opensearch 0.5.4__py3-none-any.whl → 0.5.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of llama-index-vector-stores-opensearch might be problematic. Click here for more details.
- llama_index/vector_stores/opensearch/base.py +2 -0
- {llama_index_vector_stores_opensearch-0.5.4.dist-info → llama_index_vector_stores_opensearch-0.5.5.dist-info}/METADATA +1 -1
- llama_index_vector_stores_opensearch-0.5.5.dist-info/RECORD +7 -0
- llama_index_vector_stores_opensearch-0.5.4.dist-info/RECORD +0 -7
- {llama_index_vector_stores_opensearch-0.5.4.dist-info → llama_index_vector_stores_opensearch-0.5.5.dist-info}/WHEEL +0 -0
- {llama_index_vector_stores_opensearch-0.5.4.dist-info → llama_index_vector_stores_opensearch-0.5.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -410,6 +410,8 @@ class OpensearchVectorClient:
|
|
|
410
410
|
return {"match": {key: {"query": filter.value, "fuzziness": "AUTO"}}}
|
|
411
411
|
elif op == FilterOperator.CONTAINS:
|
|
412
412
|
return {"wildcard": {key: f"*{filter.value}*"}}
|
|
413
|
+
elif op == FilterOperator.IS_EMPTY:
|
|
414
|
+
return {"bool": {"must_not": {"exists": {"field": key}}}}
|
|
413
415
|
else:
|
|
414
416
|
raise ValueError(f"Unsupported filter operator: {filter.operator}")
|
|
415
417
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
llama_index/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
llama_index/vector_stores/opensearch/__init__.py,sha256=U1_XAkZb6zcskOk4s10NB8Tjs9AZRGdRQLzOGpbWdBA,176
|
|
3
|
+
llama_index/vector_stores/opensearch/base.py,sha256=Q3kGEegJsm1M_fGwMuV4iuZ-SUhR47gs5w3718p5PfE,38327
|
|
4
|
+
llama_index_vector_stores_opensearch-0.5.5.dist-info/METADATA,sha256=ygIOVf8tbax97JGbv9fM0T2SNKJXV_EI6B8EaN0pw3I,438
|
|
5
|
+
llama_index_vector_stores_opensearch-0.5.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
llama_index_vector_stores_opensearch-0.5.5.dist-info/licenses/LICENSE,sha256=JPQLUZD9rKvCTdu192Nk0V5PAwklIg6jANii3UmTyMs,1065
|
|
7
|
+
llama_index_vector_stores_opensearch-0.5.5.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
llama_index/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
llama_index/vector_stores/opensearch/__init__.py,sha256=U1_XAkZb6zcskOk4s10NB8Tjs9AZRGdRQLzOGpbWdBA,176
|
|
3
|
-
llama_index/vector_stores/opensearch/base.py,sha256=a9sBDrpdrPzFqW0ptULnVFcGwVESpbNuQttzoNgliQM,38213
|
|
4
|
-
llama_index_vector_stores_opensearch-0.5.4.dist-info/METADATA,sha256=cETjJH4xwguGQ8TPJE0Gmx0VYAYsh_911MaYzPyzqBs,438
|
|
5
|
-
llama_index_vector_stores_opensearch-0.5.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
-
llama_index_vector_stores_opensearch-0.5.4.dist-info/licenses/LICENSE,sha256=JPQLUZD9rKvCTdu192Nk0V5PAwklIg6jANii3UmTyMs,1065
|
|
7
|
-
llama_index_vector_stores_opensearch-0.5.4.dist-info/RECORD,,
|
|
File without changes
|