pub struct TextTopKCapabilities {
pub analyzed_term_count: usize,
pub indexed_document_count: u64,
}Expand description
Storage and query facts needed to choose an exact text top-k algorithm.
Fields§
§analyzed_term_count: usizeNumber of analyzed query-term occurrences. Occurrences, rather than unique terms, matter because duplicate query terms contribute twice.
indexed_document_count: u64Trait Implementations§
Source§impl Clone for TextTopKCapabilities
impl Clone for TextTopKCapabilities
Source§fn clone(&self) -> TextTopKCapabilities
fn clone(&self) -> TextTopKCapabilities
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 TextTopKCapabilities
Source§impl Debug for TextTopKCapabilities
impl Debug for TextTopKCapabilities
impl Eq for TextTopKCapabilities
Source§impl PartialEq for TextTopKCapabilities
impl PartialEq for TextTopKCapabilities
impl StructuralPartialEq for TextTopKCapabilities
Auto Trait Implementations§
impl Freeze for TextTopKCapabilities
impl RefUnwindSafe for TextTopKCapabilities
impl Send for TextTopKCapabilities
impl Sync for TextTopKCapabilities
impl Unpin for TextTopKCapabilities
impl UnsafeUnpin for TextTopKCapabilities
impl UnwindSafe for TextTopKCapabilities
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<T> ErasedDestructor for Twhere
T: 'static,
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