mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-11 05:54:30 +01:00
Change the exactness criterion in the tests
This commit is contained in:
parent
9d167c08f4
commit
96248d9bfa
@ -1064,7 +1064,7 @@ mod tests {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)"
|
"dsc(release_date)"
|
||||||
],
|
],
|
||||||
"searchableAttributes": ["name", "release_date"],
|
"searchableAttributes": ["name", "release_date"],
|
||||||
|
@ -63,7 +63,7 @@ pub fn enrich_server_with_movies_settings(
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)",
|
"dsc(vote_average)",
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
|
@ -632,7 +632,7 @@ fn search_with_settings_basic() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)"
|
"dsc(vote_average)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
@ -738,7 +738,7 @@ fn search_with_settings_stop_words() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)"
|
"dsc(vote_average)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
@ -845,7 +845,7 @@ fn search_with_settings_synonyms() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)"
|
"dsc(vote_average)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
@ -957,7 +957,7 @@ fn search_with_settings_ranking_rules() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"asc(vote_average)",
|
"asc(vote_average)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(popularity)"
|
"dsc(popularity)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
@ -1064,7 +1064,7 @@ fn search_with_settings_searchable_attributes() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)"
|
"dsc(vote_average)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
@ -1170,7 +1170,7 @@ fn search_with_settings_displayed_attributes() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)"
|
"dsc(vote_average)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
@ -1241,7 +1241,7 @@ fn search_with_settings_searchable_attributes_2() {
|
|||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"dsc(popularity)",
|
"dsc(popularity)",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(vote_average)"
|
"dsc(vote_average)"
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
|
@ -46,7 +46,7 @@ fn write_all_and_delete() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
"dsc(rank)",
|
"dsc(rank)",
|
||||||
],
|
],
|
||||||
@ -174,7 +174,7 @@ fn write_all_and_update() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
"dsc(rank)",
|
"dsc(rank)",
|
||||||
],
|
],
|
||||||
@ -240,7 +240,7 @@ fn write_all_and_update() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
],
|
],
|
||||||
"searchableAttributes": [
|
"searchableAttributes": [
|
||||||
@ -293,7 +293,7 @@ fn write_all_and_update() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
],
|
],
|
||||||
"rankingDistinct": null,
|
"rankingDistinct": null,
|
||||||
|
@ -44,7 +44,7 @@ fn write_all_and_delete() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
"dsc(rank)",
|
"dsc(rank)",
|
||||||
]);
|
]);
|
||||||
@ -135,7 +135,7 @@ fn write_all_and_update() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
"dsc(rank)",
|
"dsc(rank)",
|
||||||
]);
|
]);
|
||||||
@ -172,7 +172,7 @@ fn write_all_and_update() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ fn write_all_and_update() {
|
|||||||
"_proximity",
|
"_proximity",
|
||||||
"_attribute",
|
"_attribute",
|
||||||
"_words_position",
|
"_words_position",
|
||||||
"_exact",
|
"_exactness",
|
||||||
"dsc(release_date)",
|
"dsc(release_date)",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user