Struct fred::types::FtSearchOptions
source · pub struct FtSearchOptions {Show 25 fields
pub nocontent: bool,
pub verbatim: bool,
pub nostopwords: bool,
pub withscores: bool,
pub withpayloads: bool,
pub withsortkeys: bool,
pub filters: Vec<SearchFilter>,
pub geofilters: Vec<SearchGeoFilter>,
pub inkeys: Vec<RedisKey>,
pub infields: Vec<Str>,
pub return: Vec<SearchField>,
pub summarize: Option<SearchSummarize>,
pub highlight: Option<SearchHighlight>,
pub slop: Option<i64>,
pub timeout: Option<i64>,
pub inorder: bool,
pub language: Option<Str>,
pub expander: Option<Str>,
pub scorer: Option<Str>,
pub explainscore: bool,
pub payload: Option<Bytes>,
pub sortby: Option<SearchSortBy>,
pub limit: Option<Limit>,
pub params: Vec<SearchParameter>,
pub dialect: Option<i64>,
}Available on crate feature
i-redisearch only.Expand description
Arguments to FT.SEARCH.
Fields§
§nocontent: bool§verbatim: bool§nostopwords: bool§withscores: bool§withpayloads: bool§withsortkeys: bool§filters: Vec<SearchFilter>§geofilters: Vec<SearchGeoFilter>§inkeys: Vec<RedisKey>§infields: Vec<Str>§return: Vec<SearchField>§summarize: Option<SearchSummarize>§highlight: Option<SearchHighlight>§slop: Option<i64>§timeout: Option<i64>§inorder: bool§language: Option<Str>§expander: Option<Str>§scorer: Option<Str>§explainscore: bool§payload: Option<Bytes>§sortby: Option<SearchSortBy>§limit: Option<Limit>§params: Vec<SearchParameter>§dialect: Option<i64>Trait Implementations§
source§impl Clone for FtSearchOptions
impl Clone for FtSearchOptions
source§fn clone(&self) -> FtSearchOptions
fn clone(&self) -> FtSearchOptions
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 FtSearchOptions
impl Debug for FtSearchOptions
source§impl Default for FtSearchOptions
impl Default for FtSearchOptions
source§fn default() -> FtSearchOptions
fn default() -> FtSearchOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FtSearchOptions
impl RefUnwindSafe for FtSearchOptions
impl Send for FtSearchOptions
impl Sync for FtSearchOptions
impl Unpin for FtSearchOptions
impl UnwindSafe for FtSearchOptions
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§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>
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