Constant tantivy::schema::INDEXED

source ·
pub const INDEXED: SchemaFlagList<IndexedFlag, ()>;
Expand description

Flag to mark the field as indexed. An indexed field is searchable and has a fieldnorm.

The INDEXED flag can only be used when building NumericOptions (u64, i64, f64 and bool fields) Of course, text fields can also be indexed… But this is expressed by using either the STRING (untokenized) or TEXT (tokenized with the english tokenizer) flags.