You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2024/08/23 06:55:44 UTC

(couchdb) branch main updated: Correct scanner docs

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 1cda0030e Correct scanner docs
1cda0030e is described below

commit 1cda0030e285637f227d14ee54a793c3c87eeb63
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Thu Aug 22 23:00:53 2024 -0400

    Correct scanner docs
    
    Plugin skip section can be full regexes, not just plain strings.
    
    Initially they were just plain strings, but since the `find` plugin got
    regexes, it was easy to just re-use the same logic. In the meantime, I forgot
    to update the docs.
---
 src/docs/src/config/scanner.rst | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/docs/src/config/scanner.rst b/src/docs/src/config/scanner.rst
index c395cd8fd..ba62e7c6f 100644
--- a/src/docs/src/config/scanner.rst
+++ b/src/docs/src/config/scanner.rst
@@ -126,31 +126,31 @@ settings in their ``[$plugin]`` section.
 
     .. config:option:: $string
 
-        Skip over databases if their names contain any of the strings in this section. ::
+        Skip over databases if their names match any of these regexes. ::
 
             [$plugin.skip_dbs]
-            string1 = true
-            string2 = true
+            regex1 = a|b
+            regex2 = bar(.*)baz
 
 .. config:section:: $plugin.skip_ddocs :: Skip design documents
 
     .. config:option:: $string
 
-        Skip over design documents if their DocIDs contain any of the strings in this section. ::
+        Skip over design documents if their DocIDs match any of these regexes. ::
 
             [$plugin.skip_ddocs]
-            string1 = true
-            string2 = true
+            regex1 = x|y|z
+            regex2 = c(d|e)f
 
 .. config:section:: $plugin.skip_docs :: Skip documents
 
     .. config:option:: $string
 
-        Skip over documents if their DocIds contain any of the strings in this section. ::
+        Skip over documents if their DocIds match any of the regexes. ::
 
             [$plugin.skip_docs]
-            string1 = true
-            string2 = true
+            regex1 = k|l
+            regex2 = mno$
 
 .. config:section:: couch_scanner_plugin_find.regexes :: Configure the "Find" plugin