Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
SDK-3.1
-
DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22, DOC-2021-Nov21-S23, DOC-2021-Dec05-S24, DOC-2021-Dec19-S25, DOC-2021-Dec31-S26, DOC-2022-S1, DOC-2022-S2, DOC-2022-S3, DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10, DOC-2022-S11, DOC-2022-S12, DOC-2022-S13
-
1
Description
https://docs.couchbase.com/java-sdk/current/howtos/full-text-searching-with-sdk.html#getting-started
provides the below example, please update the document to state that Full Text Search will cap the results of "Found row: " to 10.
try {
final SearchResult result = cluster
.searchQuery("index", SearchQuery.queryString("query"));
for (SearchRow row : result.rows())
{ System.out.println("Found row: " + row); } System.out.println("Reported total rows: "
+ result.metaData().metrics().totalRows());
} catch (CouchbaseException ex)
To simplify a customer's understanding of Full Text Search's default behavior, please include the below link in the Getting Started section of Full Text Searching with SDK.
https://docs.couchbase.com/server/current/fts/fts-queries.html#pagination
Also, please include that FTS Pagination Size is equal to Limit.