From 7acdd67235641fffb44b14a9b6eb93391f4d89b0 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Tue, 29 Aug 2023 11:01:41 -1000 Subject: [PATCH] Update src/query/exist_query.rs Co-authored-by: Paul Masurel --- src/query/exist_query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/exist_query.rs b/src/query/exist_query.rs index 6ad101b68e..84eab0f467 100644 --- a/src/query/exist_query.rs +++ b/src/query/exist_query.rs @@ -42,7 +42,7 @@ impl Query for ExistsQuery { ))); } Ok(Box::new(ExistsWeight { - field: self.field.to_string(), + field: self.field.clone(), field_type: field_type.clone(), })) }