Skip to content

Commit 8463635

Browse files
meili-bors[bot]meili-botcurquizasanders41
authored
Merge #900
900: Update tests related to the next Meilisearch release (v1.6.0) r=curquiza a=meili-bot Related to this issue: meilisearch/integration-guides#294 This PR: - gathers the changes related to the next Meilisearch release (v1.6.0) so that this package is ready when the official release is out. - should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases). - might eventually contain test failures until the Meilisearch v1.6.0 is out. ⚠️ This PR should NOT be merged until the next release of Meilisearch (v1.6.0) is out. _This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._ Co-authored-by: meili-bot <[email protected]> Co-authored-by: curquiza <[email protected]> Co-authored-by: Clémentine U. - curqui <[email protected]> Co-authored-by: Paul Sanders <[email protected]>
2 parents dc342ca + 933fd3f commit 8463635

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ index.search(
208208

209209
This package guarantees compatibility with [version v1.x of Meilisearch](https://github.com/meilisearch/meilisearch/releases/latest), but some features may not be present. Please check the [issues](https://github.com/meilisearch/meilisearch-python/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3Aenhancement) for more info.
210210

211+
⚠️ This package is not compatible with the [`vectoreStore` experimental feature](https://www.meilisearch.com/docs/learn/experimental/vector_search) of Meilisearch v1.6.0 and later. More information on this [issue](https://github.com/meilisearch/meilisearch-python/issues/901).
212+
211213
## 💡 Learn more
212214

213215
The following sections in our main documentation website may interest you:

tests/index/test_index_search_meilisearch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,13 @@ def test_attributes_to_search_on_search_no_match(index_with_documents):
459459
assert response["hits"] == []
460460

461461

462+
@pytest.mark.xfail(
463+
strict=True, reason="https://github.com/meilisearch/meilisearch-python/issues/901"
464+
)
462465
@pytest.mark.usefixtures("enable_vector_search")
463466
def test_vector_search(index_with_documents_and_vectors):
464467
response = index_with_documents_and_vectors().search(
465468
"How to Train Your Dragon", opt_params={"vector": [0.1, 0.2]}
466469
)
467-
468470
assert response["hits"][0]["id"] == "287947"
469471
assert response["vector"] == [0.1, 0.2]

0 commit comments

Comments
 (0)