diff --git a/modules/fts/pages/fts-searching-from-N1QL.adoc b/modules/fts/pages/fts-searching-from-N1QL.adoc index 9b77e89aa4..433ba710f6 100644 --- a/modules/fts/pages/fts-searching-from-N1QL.adoc +++ b/modules/fts/pages/fts-searching-from-N1QL.adoc @@ -194,6 +194,11 @@ Order pushdown is possible only if query ORDER BY has only <> on t Offset and Limit pushdown is possible if the query only has a SEARCH() predicate, using a single search index -- no IntersectScan or OrderIntersectScan. Group aggregates and projection are not pushed. +[NOTE] +-- +If the "index" setting isn't specified within the options argument of the _SEARCH_ function, N1QL can pick any FTS index available in the system that qualifies for the query. If a number of FTS indexes qualify, then one that is defined most precise will be chosen. +-- + === Examples .Search using a query string @@ -682,4 +687,4 @@ WHERE reviews.content LIKE "%travel%"; SELECT META().id FROM `travel-sample`.`inventory`.`hotel` t USE INDEX(USING FTS) WHERE content LIKE "%travel%"; ----- \ No newline at end of file +---- diff --git a/modules/n1ql/pages/n1ql-language-reference/searchfun.adoc b/modules/n1ql/pages/n1ql-language-reference/searchfun.adoc index 39b0cabb97..28e92c5895 100644 --- a/modules/n1ql/pages/n1ql-language-reference/searchfun.adoc +++ b/modules/n1ql/pages/n1ql-language-reference/searchfun.adoc @@ -202,6 +202,11 @@ Order pushdown is possible only if query ORDER BY has only <> on t Offset and Limit pushdown is possible if the query only has a SEARCH() predicate, using a single search index -- no IntersectScan or OrderIntersectScan. Group aggregates and projection are not pushed. +[NOTE] +-- +If the "index" setting isn't specified within the options argument of the _SEARCH_ function, N1QL can pick any FTS index available in the system that qualifies for the query. If a number of FTS indexes qualify, then one that is defined most precise will be chosen. +-- + === Examples .Search using a query string