mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Fix typo in method name
This commit is contained in:
parent
8047cfe438
commit
1d5265caf4
5 changed files with 10 additions and 10 deletions
|
@ -72,7 +72,7 @@ fn test_2gram_simple() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
@ -103,7 +103,7 @@ fn test_3gram_simple() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
@ -153,7 +153,7 @@ fn test_no_disable_ngrams() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
@ -179,7 +179,7 @@ fn test_2gram_prefix() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
@ -208,7 +208,7 @@ fn test_3gram_prefix() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
@ -260,7 +260,7 @@ fn test_disable_split_words() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ fn test_no_typo() {
|
|||
let index = create_index();
|
||||
index
|
||||
.update_settings(|s| {
|
||||
s.set_autorize_typos(false);
|
||||
s.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
|
|
@ -333,7 +333,7 @@ impl<'a, 't, 'i> Settings<'a, 't, 'i> {
|
|||
self.primary_key = Setting::Set(primary_key);
|
||||
}
|
||||
|
||||
pub fn set_autorize_typos(&mut self, val: bool) {
|
||||
pub fn set_authorize_typos(&mut self, val: bool) {
|
||||
self.authorize_typos = Setting::Set(val);
|
||||
}
|
||||
|
||||
|
|
|
@ -792,7 +792,7 @@ fn test_disable_typo() {
|
|||
|
||||
index
|
||||
.update_settings_using_wtxn(&mut txn, |settings| {
|
||||
settings.set_autorize_typos(false);
|
||||
settings.set_authorize_typos(false);
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue