mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Reintroduce the distinct search system
This commit is contained in:
parent
74fa9ee4df
commit
96139da0d2
6 changed files with 275 additions and 565 deletions
|
@ -1,13 +1,8 @@
|
|||
mod dfa;
|
||||
mod query_enhancer;
|
||||
|
||||
use meilisearch_tokenizer::is_cjk;
|
||||
|
||||
pub use self::dfa::{build_dfa, build_prefix_dfa, build_exact_dfa};
|
||||
pub use self::query_enhancer::QueryEnhancer;
|
||||
pub use self::query_enhancer::QueryEnhancerBuilder;
|
||||
|
||||
pub const NGRAMS: usize = 3;
|
||||
|
||||
pub fn normalize_str(string: &str) -> String {
|
||||
let mut string = string.to_lowercase();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue