pub struct SearchConfig {Show 17 fields
pub index_path: PathBuf,
pub thread_count: usize,
pub max_file_size_for_content: u64,
pub enable_content_search: bool,
pub enable_fuzzy_search: bool,
pub fuzzy_threshold: f64,
pub cache_size: usize,
pub bloom_filter_capacity: usize,
pub bloom_filter_error_rate: f64,
pub max_search_results: usize,
pub batch_size: usize,
pub follow_symlinks: bool,
pub index_hidden_files: bool,
pub exclusion_patterns: Vec<String>,
pub watch_debounce_ms: u64,
pub enable_access_tracking: bool,
pub db_pool_size: u32,
}Fields§
§index_path: PathBuf§thread_count: usize§max_file_size_for_content: u64§enable_content_search: bool§enable_fuzzy_search: bool§fuzzy_threshold: f64§cache_size: usize§bloom_filter_capacity: usize§bloom_filter_error_rate: f64§max_search_results: usize§batch_size: usize§follow_symlinks: bool§exclusion_patterns: Vec<String>§watch_debounce_ms: u64§enable_access_tracking: bool§db_pool_size: u32Implementations§
Trait Implementations§
Source§impl Clone for SearchConfig
impl Clone for SearchConfig
Source§fn clone(&self) -> SearchConfig
fn clone(&self) -> SearchConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchConfig
impl Debug for SearchConfig
Source§impl Default for SearchConfig
impl Default for SearchConfig
Source§impl<'de> Deserialize<'de> for SearchConfig
impl<'de> Deserialize<'de> for SearchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SearchConfig
impl RefUnwindSafe for SearchConfig
impl Send for SearchConfig
impl Sync for SearchConfig
impl Unpin for SearchConfig
impl UnwindSafe for SearchConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more