pub struct StreamingConfig {
pub add_threshold: f32,
pub merge_threshold: f32,
pub max_clusters: usize,
pub use_lsh: bool,
pub lsh_config: LSHConfig,
pub require_type_match: bool,
}Expand description
Configuration for streaming entity resolution.
Fields§
§add_threshold: f32Similarity threshold for adding to existing cluster
merge_threshold: f32Similarity threshold for merging clusters
max_clusters: usizeMaximum number of clusters before triggering merge
use_lsh: boolWhether to use LSH blocking for scalability
lsh_config: LSHConfigLSH configuration (if use_lsh is true)
require_type_match: boolWhether to require entity type match
Implementations§
Source§impl StreamingConfig
impl StreamingConfig
Sourcepub fn high_recall() -> Self
pub fn high_recall() -> Self
Create a high-recall configuration (more lenient matching).
Sourcepub fn high_precision() -> Self
pub fn high_precision() -> Self
Create a high-precision configuration (stricter matching).
Trait Implementations§
Source§impl Clone for StreamingConfig
impl Clone for StreamingConfig
Source§fn clone(&self) -> StreamingConfig
fn clone(&self) -> StreamingConfig
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 StreamingConfig
impl Debug for StreamingConfig
Auto Trait Implementations§
impl Freeze for StreamingConfig
impl RefUnwindSafe for StreamingConfig
impl Send for StreamingConfig
impl Sync for StreamingConfig
impl Unpin for StreamingConfig
impl UnsafeUnpin for StreamingConfig
impl UnwindSafe for StreamingConfig
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