Skip to content

Commit 238ac9a

Browse files
committed
docs(go): align match release notes with two-letter queries
1 parent 311df36 commit 238ac9a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎languages/golang/CHANGELOG.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,13 @@ listed under **Breaking**. Releases are tagged `languages/golang/vX.Y.Z`.
291291
these types: it is not a tag word.
292292
- **`TextSearch`**: a `string` field tagged `encrypt_into=TextSearch` gets
293293
`Eq`, `Lt`, `Lte`, `Gt`, `Gte` and `Matches`, one column for all of them.
294-
The stored value keeps all three terms. Text shorter than three
295-
characters, an empty string included, is stored with an empty match
294+
The stored value keeps all three terms. Text that cuts no match token,
295+
such as an empty string or one letter, is stored with an empty match
296296
filter, where `TextMatch` refuses it with `ErrTerm`: `Eq`, `Lt`, `Lte`,
297297
`Gt` and `Gte` find the row, and no `Matches` query does. Each query
298298
carries only the term its operator reads, so `Eq` and `Lt` take a
299-
two-letter value and `Matches` refuses one (`ErrTerm`). Needs the EQL v4
299+
one-letter value and `Matches` refuses one (`ErrTerm`). A two-letter
300+
word has its own match token, as described above. Needs the EQL v4
300301
SQL from this release, whose `eql_v4.query_text_search` accepts one term.
301302
- **Ordering methods on text.** A string field with `index=ore` or
302303
`index=ope` gets `Lt`, `Lte`, `Gt`, `Gte` and `Between`. Text orders by its

0 commit comments

Comments
 (0)