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

Incorrect default value for config option "this_db.import_filter"

    XMLWordPrintable

Details

    Description

      An undefined import filter allows all documents to be imported.
      This is equivalent to having an import filter that always returns true:

      function(doc) {
          return true;
      }
      

      The documentation incorrectly states the default import filter returns false (excluding all documents)

      There's also no mention of default behaviour on the dedicated Import Filter page:
      https://docs.couchbase.com/sync-gateway/current/import-filter.html

      Reporter: Ben Brooks
      E-mail: ben.brooks@couchbase.com

      Attachments

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

        Activity

          Ian.bridge Ian Bridge added a comment - CLOSED under  https://issues.couchbase.com/browse/DOC-9366 PR: #604  

          People

            Ian.bridge Ian Bridge
            ben.brooks Ben Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty