From 575b4829fed7344c1dbbdf233b2c9dc32d48ec27 Mon Sep 17 00:00:00 2001 From: elenaspb2019 Date: Sun, 13 Oct 2019 00:38:42 +0300 Subject: [PATCH] elenbaskakova-DOCSUP-178 docs(multiSearchAllPositions, multiSearchAllPositionsUTF8): Full description of functions was added --- docs/en/query_language/functions/string_search_functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/query_language/functions/string_search_functions.md b/docs/en/query_language/functions/string_search_functions.md index 450d12c6fc..19acb29b36 100644 --- a/docs/en/query_language/functions/string_search_functions.md +++ b/docs/en/query_language/functions/string_search_functions.md @@ -2,7 +2,7 @@ The search is case-sensitive by default in all these functions. There are separate variants for case insensitive search. -## position(haystack, needle), locate(haystack, needle) +## position(haystack, needle), locate(haystack, needle) {#position} Search for the substring `needle` in the string `haystack`. Returns the position (in bytes) of the found substring, starting from 1, or returns 0 if the substring was not found. @@ -101,7 +101,7 @@ Result: └───────────────────────────────────────────────────────────────────┘ ``` -## multiSearchFirstPosition(haystack, [needle1, needle2, ..., needlen]) +## multiSearchFirstPosition(haystack, [needle1, needle2, ..., needlen]) {#multiSearchFirstPosition} The same as `position` but returns the leftmost offset of the string `haystack` that is matched to some of the needles. -- GitLab