Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
sdk-3.1
-
DOC-2022-S24, DOC-2022-S25, DOC-2023-S1, DOC-2023-S2, DOC-2023-S3, DOC-2023-S4, DOC-2023-S5, DOC-2023-S6, DOC-2023-S7, DOC-2023-S8, DOC-2023-S9, DOC-2023-S10, DOC-2023-S11
-
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)