Skip to content

Removelearn/configuration/settings.md #2044

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

Merged
merged 11 commits into from
Dec 22, 2022
99 changes: 0 additions & 99 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,81 +454,6 @@ search_parameter_guide_show_matches_position_1: |-
"q": "winter feast",
"showMatchesPosition": true
}'
settings_guide_synonyms_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/tops/settings' \
-H 'Content-Type: application/json' \
--data-binary '{
"synonyms": {
"sweater": ["jumper"],
"jumper": ["sweater"]
}
}'
settings_guide_stop_words_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings' \
-H 'Content-Type: application/json' \
--data-binary '{
"stopWords": [
"the",
"a",
"an"
]
}'
settings_guide_ranking_rules_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings' \
-H 'Content-Type: application/json' \
--data-binary '{
"rankingRules": [
"words",
"typo",
"proximity",
"attribute",
"sort",
"exactness",
"release_date:asc",
"rank:desc"
]
}'
settings_guide_distinct_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/jackets/settings' \
-H 'Content-Type: application/json' \
--data-binary '{ "distinctAttribute": "product_id" }'
settings_guide_searchable_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings' \
-H 'Content-Type: application/json' \
--data-binary '{
"searchableAttributes": [
"title",
"overview",
"genres"
]
}'
settings_guide_displayed_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings' \
-H 'Content-Type: application/json' \
--data-binary '{
"displayedAttributes": [
"title",
"overview",
"genres",
"release_date"
]
}'
settings_guide_sortable_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/books/settings' \
-H 'Content-Type: application/json' \
--data-binary '{
"sortableAttributes": [
"price",
"author"
]
}'
add_movies_json_1: |-
curl \
-X POST 'http://localhost:7700/indexes/movies/documents'\
Expand Down Expand Up @@ -898,16 +823,6 @@ typo_tolerance_guide_4: |-
"twoTypos": 10
}
}'
settings_guide_typo_tolerance_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings/typo-tolerance' \
-H 'Content-Type: application/json' \
--data-binary '{
"minWordSizeForTypos": {
"twoTypos": 12
},
"disableOnAttributes": ["title"]
}'
updating_guide_check_version_new_authorization_header: |-
curl \
-X GET 'http://localhost:7700/version' \
Expand Down Expand Up @@ -936,13 +851,6 @@ getting_started_typo_tolerance: |-
--data-binary '{
"minWordSizeForTypos": { "oneTypo": 4 }
}'
settings_guide_pagination_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings/pagination' \
-H 'Content-Type: application/json' \
--data-binary '{
"maxTotalHits": 50
}'
get_pagination_settings_1: |-
curl \
-X GET 'http://localhost:7700/indexes/books/settings/pagination'
Expand All @@ -969,13 +877,6 @@ update_faceting_settings_1: |-
reset_faceting_settings_1: |-
curl \
-X DELETE 'http://localhost:7700/indexes/books/settings/faceting'
settings_guide_faceting_1: |-
curl \
-X PATCH 'http://localhost:7700/indexes/movies/settings/faceting' \
-H 'Content-Type: application/json' \
--data-binary '{
"maxValuesPerFacet": 5
}'
synonyms_guide_1: |-
curl \
-X PUT 'http://localhost:7700/indexes/movies/settings/synonyms' \
Expand Down
10 changes: 0 additions & 10 deletions .vuepress/public/sample-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ search_parameter_guide_retrieve_1: |-
search_parameter_guide_crop_1: |-
search_parameter_guide_highlight_1: |-
search_parameter_guide_show_matches_position_1: |-
settings_guide_synonyms_1: |-
settings_guide_stop_words_1: |-
settings_guide_ranking_rules_1: |-
settings_guide_distinct_1: |-
settings_guide_searchable_1: |-
settings_guide_displayed_1: |-
settings_guide_sortable_1: |-
getting_started_add_documents_md: |-
getting_started_search_md: |-
getting_started_check_task_status: |-
Expand Down Expand Up @@ -133,21 +126,18 @@ typo_tolerance_guide_1: |-
typo_tolerance_guide_2: |-
typo_tolerance_guide_3: |-
typo_tolerance_guide_4: |-
settings_guide_typo_tolerance_1: |-
updating_guide_check_version_new_authorization_header: |-
updating_guide_check_version_old_authorization_header: |-
updating_guide_get_displayed_attributes_new: |-
updating_guide_reset_displayed_attributes_new: |-
updating_guide_create_dump: |-
getting_started_typo_tolerance: |-
settings_guide_pagination_1: |-
get_pagination_settings_1: |-
update_pagination_settings_1: |-
reset_pagination_settings_1: |-
get_faceting_settings_1: |-
update_faceting_settings_1: |-
reset_faceting_settings_1: |-
settings_guide_faceting_1: |-
synonyms_guide_1: |-
getting_started_faceting: |-
getting_started_pagination: |-
Expand Down
2 changes: 1 addition & 1 deletion learn/advanced/filtering_and_faceted_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Please note that **synonyms don't apply to filters.** Meaning, if you have `SF`

#### Example

Suppose you have added `director` and `genres` to the [`filterableAttributes` list](/learn/configuration/settings.md#filterable-attributes), and you want to get movies classified as either `Horror` **or** `Mystery` **and** directed by `Jordan Peele`.
Suppose you have added `director` and `genres` to the [`filterableAttributes` list](/reference/api/settings.md#filterable-attributes), and you want to get movies classified as either `Horror` **or** `Mystery` **and** directed by `Jordan Peele`.

```SQL
[["genres = horror", "genres = mystery"], "director = 'Jordan Peele'"]
Expand Down
2 changes: 1 addition & 1 deletion learn/advanced/indexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ If you encounter performance issues during indexing, we recommend trying the fol
]
```

- When creating a new index, first [configure its settings](/learn/configuration/settings.md) and only then add your documents. Following this order will significantly reduce indexing time.
- When creating a new index, first [configure its settings](/reference/api/settings.md) and only then add your documents. Following this order will significantly reduce indexing time.

- Since indexing speed is tightly connected to the size of your payload, using lightweight dataset formats such as CSV and NDJSON can lead to increased performance.

Expand Down
Loading