mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-05 16:52:55 +00:00
print whole query on syntax error
This commit is contained in:
@@ -24,7 +24,7 @@ use crate::{DateTime, Score};
|
||||
#[derive(Debug, PartialEq, Eq, Error)]
|
||||
pub enum QueryParserError {
|
||||
/// Error in the query syntax
|
||||
#[error("Syntax Error")]
|
||||
#[error("Syntax Error: {0}")]
|
||||
SyntaxError(String),
|
||||
/// This query is unsupported.
|
||||
#[error("Unsupported query: {0}")]
|
||||
|
||||
Reference in New Issue
Block a user