Skip to content

Commit 47b315f

Browse files
authored
doc: escape the backslash (#2144)
1 parent ed1deee commit 47b315f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/query_parser/query_parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn trim_ast(logical_ast: LogicalAst) -> Option<LogicalAst> {
167167
/// * phrase terms: Quoted terms become phrase searches on fields that have positions indexed. e.g.,
168168
/// `title:"Barack Obama"` will only find documents that have "barack" immediately followed by
169169
/// "obama". Single quotes can also be used. If the text to be searched contains quotation mark,
170-
/// it is possible to escape them with a \.
170+
/// it is possible to escape them with a `\`.
171171
///
172172
/// * range terms: Range searches can be done by specifying the start and end bound. These can be
173173
/// inclusive or exclusive. e.g., `title:[a TO c}` will find all documents whose title contains a

0 commit comments

Comments
 (0)