Enum tantivy::schema::DocParsingError
[−]
[src]
pub enum DocParsingError { NotJSON(String), ValueError(String, ValueParsingError), NoSuchFieldInSchema(String), }
Error that may happen when deserializing a document from JSON.
Variants
NotJSON(String)
The payload given is not valid JSON.
ValueError(String, ValueParsingError)
One of the value node could not be parsed.
NoSuchFieldInSchema(String)
The json-document contains a field that is not declared in the schema.
Trait Implementations
impl From<DocParsingError> for Error
[src]
fn from(error: DocParsingError) -> Error
[src]
Performs the conversion.