Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
sdk-3.1
-
DOC-2023-S17, DOC-2023-S18, DOC-2023-S19, DOC-2023-S20, DOC-2023-S21, DOC-2023-S22, DOC-2023-S23, DOC-2023-S24, DOC-2023-S25, DOC-2023-S26
-
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)