Skip to content

Commit 20e01d3

Browse files
committed
Stabilize vector_store
This experimental feature is no longer experimental. Fixes meilisearch#605
1 parent 0121676 commit 20e01d3

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

spec/meilisearch/index/documents_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
end
9696

9797
it 'allows the user to store vectors' do
98-
client.update_experimental_features(vector_store: true)
9998
new_doc = { objectId: 123, _vectors: { default: [0.1, 0.2, 0.3] } }
10099
client.create_index('vector_test').await
101100
new_index = client.index('vector_test')

spec/meilisearch/index/search/similar_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
end
1313

1414
it 'does a search for similar documents' do
15-
client.update_experimental_features(vector_store: true)
16-
1715
documents = [
1816
{
1917
title: 'Shazam!',

spec/meilisearch/index/search/vector_search_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
RSpec.describe 'Meilisearch::Index - Vector search' do
44
it 'does a basic search' do
5-
client.update_experimental_features(vector_store: true)
6-
75
documents = [
86
{ objectId: 0, _vectors: { custom: [0, 0.8, -0.2] }, title: 'Across The Universe' },
97
{ objectId: 1, _vectors: { custom: [1, -0.2, 0] }, title: 'All Things Must Pass' },

spec/meilisearch/index/settings_spec.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -852,10 +852,7 @@
852852
let(:index) { client.index(uid) }
853853
let(:default_embedders) { nil }
854854

855-
before do
856-
client.create_index(uid).await
857-
client.update_experimental_features(vector_store: true)
858-
end
855+
before { client.create_index(uid).await }
859856

860857
it '#embedders gets default value' do
861858
expect(index.embedders).to eq(default_embedders)

0 commit comments

Comments
 (0)