Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,3 @@ for information on the limitations of full text search.

:::{include} ../_snippets/functions/layout/top_snippets.md
:::

% TERM is currently a hidden feature
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this!

% To make it visible again, uncomment this and the line in
lists/search-functions.md
% :::{include} ../_snippets/functions/layout/term.md
% :::

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public class TopSnippets extends EsqlScalarFunction implements OptionalArgument
preview = true,
description = "Use `TOP_SNIPPETS` to extract the best snippets for a given query string from a text field.",
detailedDescription = """
TopSnippets can be used on fields from the text famiy like <<text, text>> and <<semantic-text, semantic_text>>.
TopSnippets will extract the best snippets for a given query string.
`TOP_SNIPPETS` can be used on fields from the text famiy like <<text, text>> and <<semantic-text, semantic_text>>.
`TOP_SNIPPETS` will extract the best snippets for a given query string.
""",
examples = {
@Example(file = "top-snippets", tag = "top-snippets-with-field", applies_to = "stack: preview 9.3.0"),
Expand All @@ -92,7 +92,7 @@ public TopSnippets(
""") Expression query,
@MapParam(
name = "options",
description = "(Optional) TopSnippets additional options as "
description = "(Optional) `TOP_SNIPPETS` additional options as "
+ "[function named parameters](/reference/query-languages/esql/esql-syntax.md#esql-function-named-params).",
optional = true,
params = {
Expand Down
Loading