Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes related to the next Meilisearch release (v1.4.0) #481

Merged
merged 3 commits into from Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -22,7 +22,7 @@ services:
- bundle:/vendor/bundle

meilisearch:
image: getmeili/meilisearch:latest
image: getmeili/meilisearch:v1.4.0-rc.0
brunoocasali marked this conversation as resolved.
Show resolved Hide resolved
ports:
- "7700"
environment:
Expand Down
9 changes: 6 additions & 3 deletions spec/meilisearch/index/settings_spec.rb
Expand Up @@ -26,7 +26,10 @@
'sortableAttributes',
'typoTolerance',
'faceting',
'pagination'
'pagination',
'dictionary',
'nonSeparatorTokens',
'separatorTokens'
]
end
let(:uid) { random_uid }
Expand All @@ -39,7 +42,7 @@
it 'gets default values of settings' do
settings = index.settings
expect(settings).to be_a(Hash)
expect(settings.keys).to contain_exactly(*settings_keys)
expect(settings.keys).to include(*settings_keys)
expect(settings['rankingRules']).to eq(default_ranking_rules)
expect(settings['distinctAttribute']).to be_nil
expect(settings['searchableAttributes']).to eq(default_searchable_attributes)
Expand Down Expand Up @@ -540,7 +543,7 @@
it 'gets the default values of settings' do
settings = index.settings
expect(settings).to be_a(Hash)
expect(settings.keys).to contain_exactly(*settings_keys)
expect(settings.keys).to include(*settings_keys)
expect(settings['rankingRules']).to eq(default_ranking_rules)
expect(settings['distinctAttribute']).to be_nil
expect(settings['searchableAttributes']).to eq(default_searchable_attributes)
Expand Down