pub struct Bm25fFieldWeights {
pub kind: f64,
pub body: f64,
pub status: f64,
}Expand description
F5 (0.8.14 Slice 10) — per-field BM25F weights for the search_index_v2
multi-column FTS index. One weight per indexed field
(kind/body/status), applied as the field’s contribution multiplier in
the BM25F weighted-term-frequency accumulation.
The default is uniform (1.0 each) — the “unweighted” baseline the R-F5-1
acceptance test contrasts against. Boosting a field (e.g. kind) makes a
match in that field outrank a same-strength match in a lower-weighted field.
Engine-internal for 0.8.14: there is NO public Py/TS SDK surface for these
tunables this release (cross-binding parity is a Slice-40/X1 concern).
Fields§
§kind: f64§body: f64§status: f64Trait Implementations§
Source§impl Clone for Bm25fFieldWeights
impl Clone for Bm25fFieldWeights
Source§fn clone(&self) -> Bm25fFieldWeights
fn clone(&self) -> Bm25fFieldWeights
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Bm25fFieldWeights
Source§impl Debug for Bm25fFieldWeights
impl Debug for Bm25fFieldWeights
Source§impl Default for Bm25fFieldWeights
impl Default for Bm25fFieldWeights
Source§impl PartialEq for Bm25fFieldWeights
impl PartialEq for Bm25fFieldWeights
impl StructuralPartialEq for Bm25fFieldWeights
Auto Trait Implementations§
impl Freeze for Bm25fFieldWeights
impl RefUnwindSafe for Bm25fFieldWeights
impl Send for Bm25fFieldWeights
impl Sync for Bm25fFieldWeights
impl Unpin for Bm25fFieldWeights
impl UnsafeUnpin for Bm25fFieldWeights
impl UnwindSafe for Bm25fFieldWeights
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