diff --git a/src/query/query_parser/query_parser.rs b/src/query/query_parser/query_parser.rs index 6f35971a5..231dbd8f9 100644 --- a/src/query/query_parser/query_parser.rs +++ b/src/query/query_parser/query_parser.rs @@ -128,6 +128,7 @@ fn trim_ast(logical_ast: LogicalAST) -> Option { /// /// * all docs query: A plain `*` will match all documents in the index. /// +#[derive(Clone)] pub struct QueryParser { schema: Schema, default_fields: Vec,