Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
* [`MATCH`](../../functions-operators/search-functions.md#esql-match)
* [`MATCH_PHRASE`](../../functions-operators/search-functions.md#esql-match_phrase)
* [`QSTR`](../../functions-operators/search-functions.md#esql-qstr)
* [preview] [`SCORE`](../../functions-operators/search-functions.md#esql-score)
% * [preview] [`TERM`](../../functions-operators/search-functions.md#esql-term)
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ our [hands-on tutorial](docs-content://solutions/search/esql-search-tutorial.md)
For a high-level overview of search functionalities in {{esql}}, and to learn about relevance scoring, refer to [{{esql}} for search](docs-content://solutions/search/esql-for-search.md#esql-for-search-scoring).
:::

{{esql}} provides a set of functions for performing searching on text fields.
{{esql}} provides a set of functions for performing searching on text fields.

Use these functions
for [full-text search](docs-content://solutions/search/full-text.md)
Expand Down Expand Up @@ -48,6 +48,10 @@ for information on the limitations of full text search.
:::{include} ../_snippets/functions/layout/qstr.md
:::

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


% TERM is currently a hidden feature
% To make it visible again, uncomment this and the line in
lists/search-functions.md
Expand Down

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 @@ -1126,7 +1126,7 @@ public enum Cap {
/**
* score function
*/
SCORE_FUNCTION(Build.current().isSnapshot()),
SCORE_FUNCTION,

/**
* Support for the SAMPLE command
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@ private static FunctionDefinition[][] functions() {
def(Match.class, tri(Match::new), "match"),
def(MultiMatch.class, MultiMatch::new, "multi_match"),
def(QueryString.class, bi(QueryString::new), "qstr"),
def(MatchPhrase.class, tri(MatchPhrase::new), "match_phrase") } };
def(MatchPhrase.class, tri(MatchPhrase::new), "match_phrase"),
def(Score.class, uni(Score::new), "score"), } };

}

Expand All @@ -492,7 +493,6 @@ private static FunctionDefinition[][] snapshotFunctions() {
def(AvgOverTime.class, uni(AvgOverTime::new), "avg_over_time"),
def(LastOverTime.class, uni(LastOverTime::new), "last_over_time"),
def(FirstOverTime.class, uni(FirstOverTime::new), "first_over_time"),
def(Score.class, uni(Score::new), Score.NAME),
def(Term.class, bi(Term::new), "term"),
def(Knn.class, quad(Knn::new), "knn"),
def(StGeohash.class, StGeohash::new, "st_geohash"),
Expand Down
Loading