Skip to content

Commit f5ac68d

Browse files
authored
ESQL: Document support for semantic_text field mapping (#120052)
* Document support for semantic_text field mapping * Address review comments
1 parent 264d1c2 commit f5ac68d

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

docs/reference/esql/esql-limitations.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ include::processing-commands/limit.asciidoc[tag=limitation]
3030
** You can use `to_datetime` to cast to millisecond dates to use unsupported functions
3131
* `double` (`float`, `half_float`, `scaled_float` are represented as `double`)
3232
* `ip`
33-
* `keyword` family including `keyword`, `constant_keyword`, and `wildcard`
33+
* `keyword` <<keyword, family>> including `keyword`, `constant_keyword`, and `wildcard`
3434
* `int` (`short` and `byte` are represented as `int`)
3535
* `long`
3636
* `null`
37-
* `text`
37+
* `text` <<text, family>> including `text`, `semantic_text` and `match_only_text`
3838
* experimental:[] `unsigned_long`
3939
* `version`
4040
* Spatial types

docs/reference/esql/functions/description/match.asciidoc

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/definition/match.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/esql/functions/kibana/docs/match.md

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/Match.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ public class Match extends FullTextFunction implements PostOptimizationVerificat
103103
Use `MATCH` to perform a <<query-dsl-match-query,match query>> on the specified field.
104104
Using `MATCH` is equivalent to using the `match` query in the Elasticsearch Query DSL.
105105
106-
Match can be used on text fields, as well as other field types like boolean, dates, and numeric types.
106+
Match can be used on fields from the text family like <<text, text>> and <<semantic-text, semantic_text>>,
107+
as well as other field types like keyword, boolean, dates, and numeric types.
107108
108109
For a simplified syntax, you can use the <<esql-search-operators,match operator>> `:` operator instead of `MATCH`.
109110

0 commit comments

Comments
 (0)