Skip to content

Commit c4eb1e2

Browse files
DOC-9574: Add a note that N1QL can select any qualifying FTS index (#2490)
1 parent 51f0955 commit c4eb1e2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

modules/fts/pages/fts-searching-from-N1QL.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@ Order pushdown is possible only if query ORDER BY has only <<search_score>> on t
240240
Offset and Limit pushdown is possible if the query only has a SEARCH() predicate, using a single search index -- no IntersectScan or OrderIntersectScan.
241241
Group aggregates and projection are not pushed.
242242

243+
[NOTE]
244+
--
245+
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.
246+
--
247+
243248
=== Examples
244249

245250
.Search using a query string

modules/n1ql/pages/n1ql-language-reference/searchfun.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ Order pushdown is possible only if query ORDER BY has only <<search_score>> on t
248248
Offset and Limit pushdown is possible if the query only has a SEARCH() predicate, using a single search index -- no IntersectScan or OrderIntersectScan.
249249
Group aggregates and projection are not pushed.
250250

251+
[NOTE]
252+
--
253+
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.
254+
--
255+
251256
=== Examples
252257

253258
.Search using a query string

0 commit comments

Comments
 (0)