Struct tantivy::schema::TextFieldIndexing [−][src]
pub struct TextFieldIndexing { /* fields omitted */ }
Expand description
Configuration defining indexing for a text field.
It defines
- the amount of information that should be stored about the presence of a term in a document.
Essentially, should we store the term frequency and/or the positions (See
IndexRecordOption
). - the name of the
Tokenizer
that should be used to process the field.
Implementations
Sets the tokenizer to be used for a given field.
Sets which information should be indexed with the tokens.
See IndexRecordOption for more detail.
Returns the indexing options associated to this field.
See IndexRecordOption for more detail.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TextFieldIndexing
impl Send for TextFieldIndexing
impl Sync for TextFieldIndexing
impl Unpin for TextFieldIndexing
impl UnwindSafe for TextFieldIndexing
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V