File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ get_pretty_sys_info_1: |-
162
162
get_sys_info_1 : |-
163
163
client.get_sys_info()
164
164
distinct_attribute_guide_1 : |-
165
- client.get_index('movies ').update_settings({'distinctAttribute': 'product_id'})
165
+ client.get_index('jackets ').update_settings({'distinctAttribute': 'product_id'})
166
166
field_properties_guide_searchable_1 : |-
167
167
client.get_index('movies').update_settings({
168
168
'searchableAttributes': [
@@ -236,6 +236,13 @@ search_parameter_guide_matches_1: |-
236
236
'attributesToHighlight': ['overview'],
237
237
'matches': 'true'
238
238
})
239
+ settings_guide_synonyms_1 : |-
240
+ client.get_index('movies').update_settings({
241
+ 'synonyms': {
242
+ sweater: ['jumper'],
243
+ jumper: ['sweater']
244
+ },
245
+ })
239
246
settings_guide_stop_words_1 : |-
240
247
client.get_index('movies').update_settings({
241
248
'stopWords': [
@@ -328,8 +335,8 @@ getting_started_search_md: |-
328
335
[About this package](https://github.com/meilisearch/meilisearch-python/)
329
336
faceted_search_update_settings_1 : |-
330
337
client.get_index('movies').update_attributes_for_faceting([
331
- 'genres',
332
338
'director',
339
+ 'genres',
333
340
])
334
341
faceted_search_facet_filters_1 : |-
335
342
client.get_index('movies').search('thriller', {
You can’t perform that action at this time.
0 commit comments