Compare commits

...

6 Commits

4 changed files with 6 additions and 4 deletions

View File

@ -443,7 +443,7 @@ async fn displayedattr_2_smol() {
.await;
}
#[cfg(feature = "default")]
#[cfg(feature = "chinese")]
#[actix_rt::test]
async fn test_cjk_highlight() {
let server = Server::new().await;

View File

@ -68,7 +68,7 @@ rand = {version = "0.8.5", features = ["small_rng"] }
fuzzcheck = "0.12.1"
[features]
default = [ "charabia/default" ]
default = [ "charabia/japanese", "charabia/hebrew", "charabia/korean", "charabia/thai", "charabia/greek" ]
# Use POSIX semaphores instead of SysV semaphores in LMDB
# For more information on this feature, see heed's Cargo.toml

View File

@ -1184,6 +1184,7 @@ mod tests {
stats_should_not_return_deleted_documents_(DeletionStrategy::AlwaysSoft);
}
#[cfg(feature = "chinese")]
fn stored_detected_script_and_language_should_not_return_deleted_documents_(
deletion_strategy: DeletionStrategy,
) {
@ -1222,6 +1223,7 @@ mod tests {
assert_eq!(cj_cmn_docs, expected_cj_cmn_docids);
}
#[cfg(feature = "chinese")]
#[test]
fn stored_detected_script_and_language_should_not_return_deleted_documents() {
stored_detected_script_and_language_should_not_return_deleted_documents_(

View File

@ -1558,7 +1558,7 @@ mod tests {
assert_eq!(count, 4);
}
#[cfg(feature = "default")]
#[cfg(feature = "chinese")]
#[test]
fn test_meilisearch_1714() {
let index = TempIndex::new();
@ -1906,7 +1906,7 @@ mod tests {
index.add_documents(doc1).unwrap();
}
#[cfg(feature = "default")]
#[cfg(feature = "chinese")]
#[test]
fn store_detected_script_and_language_per_document_during_indexing() {
use charabia::{Language, Script};