From 93cc8498b379a73a22fec68a1888ccfef08573fd Mon Sep 17 00:00:00 2001 From: PSeitz Date: Mon, 23 May 2022 11:59:42 +0200 Subject: [PATCH] Update examples/json_field.rs --- examples/json_field.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/json_field.rs b/examples/json_field.rs index ac4553b6f..07f689c35 100644 --- a/examples/json_field.rs +++ b/examples/json_field.rs @@ -75,7 +75,8 @@ fn main() -> tantivy::Result<()> { assert_eq!(hits.len(), 1); } { - // The sub-fields in the json field marked as default field still need to be explicitly addressed + // The sub-fields in the json field marked as default field still need to be explicitly + // addressed let query = query_parser.parse_query("click AND 133")?; let hits = searcher.search(&*query, &TopDocs::with_limit(2))?; assert_eq!(hits.len(), 0);