pub struct SearchExplain {Show 22 fields
pub query: String,
pub project: Option<String>,
pub memory_type: Option<String>,
pub branch: Option<String>,
pub include_stale: bool,
pub limit: i64,
pub offset: i64,
pub fetch_limit: i64,
pub expanded_terms: Vec<String>,
pub core_terms: Vec<String>,
pub claim_terms: Vec<String>,
pub fts_query: Option<String>,
pub temporal_range: Option<(i64, i64)>,
pub temporal_field: Option<String>,
pub rrf_k: f64,
pub min_evidence_confidence: f64,
pub filtered_result_count: usize,
pub timings: Vec<PhaseTiming>,
pub channels: Vec<SearchExplainChannel>,
pub results: Vec<SearchExplainResult>,
pub has_more: bool,
pub raw_fallback_count: usize,
}Fields§
§query: String§project: Option<String>§memory_type: Option<String>§branch: Option<String>§include_stale: bool§limit: i64§offset: i64§fetch_limit: i64§expanded_terms: Vec<String>§core_terms: Vec<String>§claim_terms: Vec<String>§fts_query: Option<String>§temporal_range: Option<(i64, i64)>§temporal_field: Option<String>§rrf_k: f64§min_evidence_confidence: f64§filtered_result_count: usize§timings: Vec<PhaseTiming>§channels: Vec<SearchExplainChannel>§results: Vec<SearchExplainResult>§has_more: bool§raw_fallback_count: usizeImplementations§
Source§impl SearchExplain
impl SearchExplain
pub fn retain_result_ids( &mut self, result_ids: &[i64], has_more: bool, visible_limit: i64, )
pub fn set_raw_fallback_count(&mut self, count: usize)
Trait Implementations§
Source§impl Clone for SearchExplain
impl Clone for SearchExplain
Source§fn clone(&self) -> SearchExplain
fn clone(&self) -> SearchExplain
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 moreSource§impl Debug for SearchExplain
impl Debug for SearchExplain
Auto Trait Implementations§
impl Freeze for SearchExplain
impl RefUnwindSafe for SearchExplain
impl Send for SearchExplain
impl Sync for SearchExplain
impl Unpin for SearchExplain
impl UnsafeUnpin for SearchExplain
impl UnwindSafe for SearchExplain
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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