pub struct MultiFieldSearchOperator {
pub fields: Vec<String>,
pub queries: Vec<String>,
pub weights: Vec<f64>,
pub bayesian_params: BayesianBM25Params,
pub fusion_alpha: f64,
}Expand description
Multi-field Bayesian BM25 search (Section 12.2 #1, Paper 3).
Searches every field with its corresponding query, scores each field
through a prior-free uqa_scoring::BayesianBM25Scorer, and fuses
the per-field evidence through weighted robust positive-evidence pooling
(uqa_fusion::positive_evidence); the configured base_rate enters the
pool exactly once.
Fields§
§fields: Vec<String>§queries: Vec<String>§weights: Vec<f64>§bayesian_params: BayesianBM25Params§fusion_alpha: f64Implementations§
Trait Implementations§
Source§impl Operator for MultiFieldSearchOperator
impl Operator for MultiFieldSearchOperator
fn execute(&self, ctx: &ExecutionContext) -> OperatorResult
fn cost_estimate(&self, stats: &IndexStats) -> f64
Auto Trait Implementations§
impl Freeze for MultiFieldSearchOperator
impl RefUnwindSafe for MultiFieldSearchOperator
impl Send for MultiFieldSearchOperator
impl Sync for MultiFieldSearchOperator
impl Unpin for MultiFieldSearchOperator
impl UnsafeUnpin for MultiFieldSearchOperator
impl UnwindSafe for MultiFieldSearchOperator
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