struct AttrProbe {
hash: (u64, u64),
numeric: bool,
}Expand description
The attribute equalities in a search, in the form a block filter answers.
Terms are AND-ed, so any single one the block cannot satisfy rules the whole block out — which is why a list of independent probes is enough and no expression tree is needed.
numeric records that the query scalar could be read as a number. Doubles
are not in the index (see crate::bloom::HAS_DOUBLE), so a block that
holds any must be scanned for a numeric query even when the text probe misses.
Fields§
§hash: (u64, u64)§numeric: boolImplementations§
Auto Trait Implementations§
impl Freeze for AttrProbe
impl RefUnwindSafe for AttrProbe
impl Send for AttrProbe
impl Sync for AttrProbe
impl Unpin for AttrProbe
impl UnsafeUnpin for AttrProbe
impl UnwindSafe for AttrProbe
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].