Derive Clone for QueryParser (#442)

This commit is contained in:
Do Duy
2018-11-15 16:45:40 +07:00
committed by Paul Masurel
parent 236cfbec08
commit dea16f1d9d

View File

@@ -128,6 +128,7 @@ fn trim_ast(logical_ast: LogicalAST) -> Option<LogicalAST> {
///
/// * all docs query: A plain `*` will match all documents in the index.
///
#[derive(Clone)]
pub struct QueryParser {
schema: Schema,
default_fields: Vec<Field>,