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) created issue -
          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.
          richard.smedley Richard Smedley made changes -
          Field Original Value New Value
          Component/s server dev guide and SDKs [ 11814 ]
          Epic Link DOC-8196 [ 152156 ]
          Fix Version/s sdk3.1-backlog [ 17244 ]
          Fix Version/s sdk3.2-backlog [ 17245 ]
          Page URL https://docs.couchbase.com/java-sdk/3.0/howtos/full-text-searching-with-sdk.html#getting-started
          Affects Version/s SDK-3.1 [ 17058 ]
          Assignee Amarantha Kulkarni [ amarantha.kulkarni ] Richard Smedley [ richard smedley ]
          Labels fts search
          richard.smedley Richard Smedley made changes -
          Labels fts search SDKDOC-quickfix fts search
          richard.smedley Richard Smedley made changes -
          Sprint DOC-2021-Sep26-S19 [ 1743 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Sep26-S19 [ 1743 ] DOC-2021-Sep26-S19, DOC-2021-Oct10-S20 [ 1743, 1744 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Sep26-S19, DOC-2021-Oct10-S20 [ 1743, 1744 ] DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21 [ 1743, 1744, 1790 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21 [ 1743, 1744, 1790 ] DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22 [ 1743, 1744, 1790, 1791 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22 [ 1743, 1744, 1790, 1791 ] DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22, DOC-2021-Nov21-S23 [ 1743, 1744, 1790, 1791, 1848 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22, DOC-2021-Nov21-S23 [ 1743, 1744, 1790, 1791, 1848 ] DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22, DOC-2021-Nov21-S23, DOC-2021-Dec05-S24 [ 1743, 1744, 1790, 1791, 1848, 1849 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2021-Sep26-S19, DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22, DOC-2021-Nov21-S23, DOC-2021-Dec05-S24 [ 1743, 1744, 1790, 1791, 1848, 1849 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095, 2108 ]
          simon.dew Simon Dew made changes -
          Sprint 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095, 2108 ] 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 [ 1743, 1744, 1790, 1791, 1848, 1849, 1850, 1851, 1981, 1982, 1983, 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095, 2108, 2127 ]

          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