Skip to content

Commit cde6b09

Browse files
committed
Add precision about sort order for range clauses
1 parent 3d14daf commit cde6b09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/reference/query-language.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ Matches if the document contains a token between the provided bounds for that fi
157157
For range queries, you must provide a field. Quickwit won't use `default_search_fields` automatically.
158158

159159
###### Order
160-
For text fields, the ranges are defined by lexicographic order. It means for a text field, 100 is between 1 and 2.
160+
For text fields, the ranges are defined by lexicographic order on uft-8 encoded byte arrays. It means for a text field, 100 is between 1 and 2.
161+
<!-- TODO: Build a more comprehensive example set to showcase how wharacters are sorted -->
162+
161163
When using ranges on integers, it behaves naturally.
162164

163165
###### Inclusive and exclusive bounds

0 commit comments

Comments
 (0)