mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 16:21:07 +00:00
Ignore faulty test (see #5746)
This commit is contained in:
@ -2203,6 +2203,7 @@ async fn both_fragments_and_document_template() {
|
|||||||
"#);
|
"#);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[ignore = "failing due to issue #5746"]
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn set_fragments_then_document_template() {
|
async fn set_fragments_then_document_template() {
|
||||||
let (server, uid, settings) = init_fragments_index().await;
|
let (server, uid, settings) = init_fragments_index().await;
|
||||||
@ -2232,87 +2233,7 @@ async fn set_fragments_then_document_template() {
|
|||||||
|
|
||||||
let (settings, code) = index.settings().await;
|
let (settings, code) = index.settings().await;
|
||||||
snapshot!(code, @"200 OK");
|
snapshot!(code, @"200 OK");
|
||||||
snapshot!(settings, @r#"
|
snapshot!(settings, @r#""#); // Should have removed fragments
|
||||||
{
|
|
||||||
"displayedAttributes": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"searchableAttributes": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"filterableAttributes": [],
|
|
||||||
"sortableAttributes": [],
|
|
||||||
"rankingRules": [
|
|
||||||
"words",
|
|
||||||
"typo",
|
|
||||||
"proximity",
|
|
||||||
"attribute",
|
|
||||||
"sort",
|
|
||||||
"exactness"
|
|
||||||
],
|
|
||||||
"stopWords": [],
|
|
||||||
"nonSeparatorTokens": [],
|
|
||||||
"separatorTokens": [],
|
|
||||||
"dictionary": [],
|
|
||||||
"synonyms": {},
|
|
||||||
"distinctAttribute": null,
|
|
||||||
"proximityPrecision": "byWord",
|
|
||||||
"typoTolerance": {
|
|
||||||
"enabled": true,
|
|
||||||
"minWordSizeForTypos": {
|
|
||||||
"oneTypo": 5,
|
|
||||||
"twoTypos": 9
|
|
||||||
},
|
|
||||||
"disableOnWords": [],
|
|
||||||
"disableOnAttributes": [],
|
|
||||||
"disableOnNumbers": false
|
|
||||||
},
|
|
||||||
"faceting": {
|
|
||||||
"maxValuesPerFacet": 100,
|
|
||||||
"sortFacetValuesBy": {
|
|
||||||
"*": "alpha"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pagination": {
|
|
||||||
"maxTotalHits": 1000
|
|
||||||
},
|
|
||||||
"embedders": {
|
|
||||||
"rest": {
|
|
||||||
"source": "rest",
|
|
||||||
"dimensions": 3,
|
|
||||||
"url": "http://127.0.0.1:55578",
|
|
||||||
"indexingFragments": {
|
|
||||||
"basic": {
|
|
||||||
"value": "{{ doc.name }} is a dog"
|
|
||||||
},
|
|
||||||
"withBreed": {
|
|
||||||
"value": "{{ doc.name }} is a {{ doc.breed }}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"searchFragments": {
|
|
||||||
"justBreed": {
|
|
||||||
"value": "It's a {{ media.breed }}"
|
|
||||||
},
|
|
||||||
"justName": {
|
|
||||||
"value": "{{ media.name }} is a dog"
|
|
||||||
},
|
|
||||||
"query": {
|
|
||||||
"value": "Some pre-prompt for query {{ q }}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"request": "{{fragment}}",
|
|
||||||
"response": {
|
|
||||||
"data": "{{embedding}}"
|
|
||||||
},
|
|
||||||
"headers": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"searchCutoffMs": null,
|
|
||||||
"localizedAttributes": null,
|
|
||||||
"facetSearch": true,
|
|
||||||
"prefixSearch": "indexingTime"
|
|
||||||
}
|
|
||||||
"#);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
Reference in New Issue
Block a user