diff --git a/docs/en/query_language/functions/string_search_functions.md b/docs/en/query_language/functions/string_search_functions.md
index 450d12c6fcaaeb9edae0f243b4300e654557ac05..19acb29b36b4b974e8761e4922d4d6ccb2386599 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.