Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-8186

JAVA FTS SDK Results Cap

    XMLWordPrintable

Details

    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)

      { ex.printStackTrace(); }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          richard.lewis Richard Lewis (Inactive) added a comment - - edited

          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.

          richard.lewis Richard Lewis (Inactive) added a comment - - edited 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.

          People

            richard.smedley Richard Smedley
            richard.lewis Richard Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty