Skip to content

Commit fecf30e

Browse files
authored
Merge branch 'meilisearch:main' into main
2 parents 3c7ec8a + cfb4735 commit fecf30e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+90363
-2200
lines changed

.code-samples.meilisearch.yaml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,23 @@ multi_search_1: |-
10221022
}
10231023
]
10241024
}'
1025+
multi_search_federated_1: |-
1026+
curl \
1027+
-X POST 'http://localhost:7700/multi-search' \
1028+
-H 'Content-Type: application/json' \
1029+
--data-binary '{
1030+
"federation": {},
1031+
"queries": [
1032+
{
1033+
"indexUid": "movies",
1034+
"q": "batman"
1035+
},
1036+
{
1037+
"indexUid": "comics",
1038+
"q": "batman"
1039+
}
1040+
]
1041+
}'
10251042
faceted_search_update_settings_1: |-
10261043
curl \
10271044
-X PUT 'http://localhost:7700/indexes/books/settings/filterable-attributes' \
@@ -1221,7 +1238,7 @@ reset_embedders_1: |-
12211238
search_parameter_guide_hybrid_1: |-
12221239
curl -X POST 'localhost:7700/indexes/INDEX_NAME/search' \
12231240
-H 'content-type: application/json' \
1224-
--data-binary '{
1241+
--data-binary '{
12251242
"q": "kitchen utensils",
12261243
"hybrid": {
12271244
"semanticRatio": 0.9,
@@ -1300,7 +1317,7 @@ analytics_event_bind_event_1: |-
13001317
search_parameter_reference_retrieve_vectors_1: |-
13011318
curl -X POST 'localhost:7700/indexes/INDEX_NAME/search' \
13021319
-H 'content-type: application/json' \
1303-
--data-binary '{
1320+
--data-binary '{
13041321
"q": "kitchen utensils",
13051322
"retrieveVectors": true,
13061323
"hybrid": {
@@ -1351,3 +1368,26 @@ search_parameter_reference_ranking_score_threshold_1: |-
13511368
"q": "badman",
13521369
"rankingScoreThreshold": 0.2
13531370
}'
1371+
search_parameter_reference_locales_1: |-
1372+
curl \
1373+
-X POST 'http://localhost:7700/indexes/INDEX_NAME/search' \
1374+
-H 'Content-Type: application/json' \
1375+
--data-binary '{
1376+
"q": "進撃の巨人",
1377+
"locales": ["jpn"]
1378+
}'
1379+
get_localized_attribute_settings_1: |-
1380+
curl \
1381+
-X GET 'http://localhost:7700/indexes/INDEX_NAME/settings/localized-attributes'
1382+
update_localized_attribute_settings_1: |-
1383+
curl \
1384+
-X PUT 'http://localhost:7700/indexes/INDEX_NAME/settings/localized-attributes' \
1385+
-H 'Content-Type: application/json' \
1386+
--data-binary '{
1387+
"localizedAttributes": [
1388+
{"locales": ["jpn"], "attributePatterns": ["*_ja"]}
1389+
]
1390+
}'
1391+
reset_localized_attribute_settings_1: |-
1392+
curl \
1393+
-X DELETE 'http://localhost:7700/indexes/INDEX_NAME/settings/localized-attributes'

.github/actions/validate-docs-links/lib/index.js

Lines changed: 87832 additions & 20 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)