mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
rename the search_cutoff parameter to search_cutoff_ms
This commit is contained in:
parent
038c26c118
commit
6a0c399c2f
8 changed files with 39 additions and 38 deletions
|
@ -16,6 +16,7 @@ pub use server::{default_settings, Server};
|
|||
pub struct Value(pub serde_json::Value);
|
||||
|
||||
impl Value {
|
||||
#[track_caller]
|
||||
pub fn uid(&self) -> u64 {
|
||||
if let Some(uid) = self["uid"].as_u64() {
|
||||
uid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue