pub struct ScriptScore { /* private fields */ }
Expand description
The script_score function allows you to wrap another query and customize the scoring of it optionally with a computation derived from other numeric field values in the doc using a script expression
Implementations§
Trait Implementations§
Source§impl Clone for ScriptScore
impl Clone for ScriptScore
Source§fn clone(&self) -> ScriptScore
fn clone(&self) -> ScriptScore
Returns a copy 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 ScriptScore
impl Debug for ScriptScore
Source§impl From<ScriptScore> for Function
impl From<ScriptScore> for Function
Source§fn from(q: ScriptScore) -> Self
fn from(q: ScriptScore) -> Self
Converts to this type from the input type.
Source§impl From<ScriptScore> for Option<Function>
impl From<ScriptScore> for Option<Function>
Source§fn from(q: ScriptScore) -> Self
fn from(q: ScriptScore) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScriptScore
impl PartialEq for ScriptScore
Source§impl Serialize for ScriptScore
impl Serialize for ScriptScore
impl StructuralPartialEq for ScriptScore
Auto Trait Implementations§
impl Freeze for ScriptScore
impl RefUnwindSafe for ScriptScore
impl Send for ScriptScore
impl Sync for ScriptScore
impl Unpin for ScriptScore
impl UnwindSafe for ScriptScore
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