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

[N1QL/FTS] Need to document the effect of bleveMaxResultWindow on search resultsets

    XMLWordPrintable

Details

    • 1

    Description

      FTS/Bleve caps the number of results an FTS search request can match and return to 10000 (default). This is so a search request doesn't over consume resources.

      This setting is configurable and the setting name is bleveMaxResultWindow, and this command will update this setting for the search service cluster-wide (applicable to all incoming queries).

      curl -XPUT -H "Content-type:application/json" http://<username>:<password>@<ip>:8094/api/managerOptions -d '{"bleveMaxResultWindow": "100000"}' 

      Note, that with flex queries, with the score:none optimization - FTS will not apply this limitation.

      Attachments

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

        Activity

          People

            amarantha.kulkarni Amarantha Kulkarni (Inactive)
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty