diff --git a/features.go b/features.go index c3b538f..90e51a5 100644 --- a/features.go +++ b/features.go @@ -15,11 +15,6 @@ func (m *meilisearch) ExperimentalFeatures() *ExperimentalFeatures { return &ExperimentalFeatures{client: m.client} } -func (ef *ExperimentalFeatures) SetVectorStore(vectorStore bool) *ExperimentalFeatures { - ef.VectorStore = &vectorStore - return ef -} - func (ef *ExperimentalFeatures) SetLogsRoute(logsRoute bool) *ExperimentalFeatures { ef.LogsRoute = &logsRoute return ef diff --git a/features_test.go b/features_test.go index 24c01de..e5a2a32 100644 --- a/features_test.go +++ b/features_test.go @@ -60,14 +60,12 @@ func TestUpdate_ExperimentalFeatures(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { ef := tt.client.ExperimentalFeatures() - ef.SetVectorStore(true) ef.SetLogsRoute(true) ef.SetMetrics(true) ef.SetEditDocumentsByFunction(true) ef.SetContainsFilter(true) gotResp, err := ef.Update() require.NoError(t, err) - require.Equal(t, true, gotResp.VectorStore, "ExperimentalFeatures.Update() should return vectorStore as true") require.Equal(t, true, gotResp.LogsRoute, "ExperimentalFeatures.Update() should return logsRoute as true") require.Equal(t, true, gotResp.Metrics, "ExperimentalFeatures.Update() should return metrics as true") require.Equal(t, true, gotResp.EditDocumentsByFunction, "ExperimentalFeatures.Update() should return editDocumentsByFunction as true") diff --git a/types.go b/types.go index 0f39d3d..fd52c4e 100644 --- a/types.go +++ b/types.go @@ -569,7 +569,6 @@ type UpdateDocumentByFunctionRequest struct { // ExperimentalFeaturesResult represents the experimental features result from the API. type ExperimentalFeaturesBase struct { - VectorStore *bool `json:"vectorStore,omitempty"` LogsRoute *bool `json:"logsRoute,omitempty"` Metrics *bool `json:"metrics,omitempty"` EditDocumentsByFunction *bool `json:"editDocumentsByFunction,omitempty"` @@ -577,7 +576,6 @@ type ExperimentalFeaturesBase struct { } type ExperimentalFeaturesResult struct { - VectorStore bool `json:"vectorStore"` LogsRoute bool `json:"logsRoute"` Metrics bool `json:"metrics"` EditDocumentsByFunction bool `json:"editDocumentsByFunction"`