Struct tantivy::fastfield::FastFieldNotAvailableError
[−]
[src]
pub struct FastFieldNotAvailableError { /* fields omitted */ }
FastFieldNotAvailableError
is returned when the
user requested for a fast field reader, and the field was not
defined in the schema as a fast field.
Methods
impl FastFieldNotAvailableError
[src]
pub fn new(field_entry: &FieldEntry) -> FastFieldNotAvailableError
[src]
Creates a FastFieldNotAvailable
error.
field_entry
is the configuration of the field
for which fast fields are not available.
Trait Implementations
impl From<FastFieldNotAvailableError> for Error
[src]
fn from(fastfield_error: FastFieldNotAvailableError) -> Error
[src]
Performs the conversion.