Skip to content

Commit e96d49e

Browse files
Adding Note to tell the user about FTS Limits of 10 results
1 parent 28e91b6 commit e96d49e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

modules/howtos/pages/full-text-searching-with-sdk.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ The Full Text Search service also supports vector search from Couchbase Server 7
1515

1616
== Getting Started
1717

18+
NOTE: By default, FTS limits to 10 results per query.
19+
If you do not provide a from, size, or other pagination settings in your query, the Search Service defaults to a size value of 10 and a from value of 0.
20+
This means the Search Service returns the first 10 matches to your query.
21+
22+
For information about FTS limits, see xref:server:search:search-request-params.adoc[].
23+
24+
For information about pagination, see the xref:server:fts:fts-search-response#pagination.adoc[Pagination].
25+
1826
After familiarizing yourself with how to create and query a Search index in the UI you can query it from the SDK.
1927

2028
There are two APIs for querying search: `cluster.searchQuery()`, and `cluster.search()`.
@@ -31,7 +39,7 @@ include::devguide:example$java/Search.java[tag=simple,indent=0]
3139
----
3240

3341
Let's break it down.
34-
The `searchQuery` API takes the name of the index and the type of query as required arguments and then allows to provide additional options if needed
42+
The `searchQuery` API takes the name of the index and the type of query as required arguments and then allows to provide additional options if needed
3543
(in the example above, no options are specified).
3644

3745
Once a result returns you can iterate over the returned rows, and/or access the `SearchMetaData` associated with the query.

0 commit comments

Comments
 (0)