From 47b315ff18e1569c214e86796abf8e8cb462834d Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Mon, 14 Aug 2023 19:10:07 +0200 Subject: [PATCH] doc: escape the backslash (#2144) --- src/query/query_parser/query_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/query_parser/query_parser.rs b/src/query/query_parser/query_parser.rs index 9d895bd62..172b1fc6a 100644 --- a/src/query/query_parser/query_parser.rs +++ b/src/query/query_parser/query_parser.rs @@ -167,7 +167,7 @@ fn trim_ast(logical_ast: LogicalAst) -> Option { /// * phrase terms: Quoted terms become phrase searches on fields that have positions indexed. e.g., /// `title:"Barack Obama"` will only find documents that have "barack" immediately followed by /// "obama". Single quotes can also be used. If the text to be searched contains quotation mark, -/// it is possible to escape them with a \. +/// it is possible to escape them with a `\`. /// /// * range terms: Range searches can be done by specifying the start and end bound. These can be /// inclusive or exclusive. e.g., `title:[a TO c}` will find all documents whose title contains a