allow limiting the number of matched term in range query (#1899)

This commit is contained in:
trinity-1686a
2023-02-27 10:44:08 +01:00
committed by GitHub
parent e510f699c8
commit 8a71e00da3
3 changed files with 65 additions and 4 deletions

View File

@@ -974,7 +974,7 @@ mod test {
assert_eq!(
format!("{:?}", query),
"RangeQuery { field: \"title\", value_type: Str, left_bound: Included([97]), \
right_bound: Included([98]) }"
right_bound: Included([98]), limit: None }"
);
}