Skip to content

Commit

Permalink
Merge #542
Browse files Browse the repository at this point in the history
542: Changes related to the next Meilisearch release (v1.9.0) r=curquiza a=meili-bot

Related to this issue: meilisearch/integration-guides#301

This PR:
- gathers the changes related to the next Meilisearch release (v1.9.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.9.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v1.9.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 <74670311+meili-bot@users.noreply.github.com>
Co-authored-by: curquiza <clementine@meilisearch.com>
  • Loading branch information
3 people authored Jul 1, 2024
2 parents c63b809 + 93271b8 commit 642e334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/meilisearch/index/documents_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@

it 'allows the user to store vectors' do
enable_vector_store(true)
new_doc = { objectId: 123, _vectors: [0.1, 0.2, 0.3] }
new_doc = { objectId: 123, _vectors: { default: [0.1, 0.2, 0.3] } }
client.create_index('vector_test').await
new_index = client.index('vector_test')
new_index.add_documents(new_doc).await
expect(new_index.document(123)['_vectors']).to include(0.1)
expect(new_index.search("123", retrieveVectors: true)['hits'][0]['_vectors']).to include('default')
end
end
end
Expand Down

0 comments on commit 642e334

Please sign in to comment.