@@ -9649,7 +9649,9 @@ class Analyzer:
96499649 * For query text indexes the default is `keyword`
96509650 * For a query text index default_field the default is `standard`.
96519651 :param List[str] stopwords: (optional) Custom stopwords to use with the named
9652- analyzer.
9652+ analyzer where supported. Not used for `keyword`, `simple`, `whitespace`,
9653+ `simple_asciifolding` or `perfield` analyzers. Ensure stopwords match the folded
9654+ case for analyzers that perform folding.
96539655 """
96549656
96559657 def __init__(
@@ -9668,7 +9670,9 @@ def __init__(
96689670 * For query text indexes the default is `keyword`
96699671 * For a query text index default_field the default is `standard`.
96709672 :param List[str] stopwords: (optional) Custom stopwords to use with the
9671- named analyzer.
9673+ named analyzer where supported. Not used for `keyword`, `simple`,
9674+ `whitespace`, `simple_asciifolding` or `perfield` analyzers. Ensure
9675+ stopwords match the folded case for analyzers that perform folding.
96729676 """
96739677 self.name = name
96749678 self.stopwords = stopwords
@@ -9782,7 +9786,9 @@ class AnalyzerConfiguration:
97829786 * For query text indexes the default is `keyword`
97839787 * For a query text index default_field the default is `standard`.
97849788 :param List[str] stopwords: (optional) Custom stopwords to use with the named
9785- analyzer.
9789+ analyzer where supported. Not used for `keyword`, `simple`, `whitespace`,
9790+ `simple_asciifolding` or `perfield` analyzers. Ensure stopwords match the folded
9791+ case for analyzers that perform folding.
97869792 :param Analyzer default: (optional) Schema for a full text search analyzer.
97879793 :param dict fields: (optional) Schema for mapping a field name to a per field
97889794 analyzer.
@@ -9806,7 +9812,9 @@ def __init__(
98069812 * For query text indexes the default is `keyword`
98079813 * For a query text index default_field the default is `standard`.
98089814 :param List[str] stopwords: (optional) Custom stopwords to use with the
9809- named analyzer.
9815+ named analyzer where supported. Not used for `keyword`, `simple`,
9816+ `whitespace`, `simple_asciifolding` or `perfield` analyzers. Ensure
9817+ stopwords match the folded case for analyzers that perform folding.
98109818 :param Analyzer default: (optional) Schema for a full text search analyzer.
98119819 :param dict fields: (optional) Schema for mapping a field name to a per
98129820 field analyzer.
@@ -12271,8 +12279,8 @@ class DesignDocument:
1227112279 The validation function can abort the pending document write by throwing one of
1227212280 two error objects:
1227312281 ```
12274- // user is not authorized to make the change but may re-authenticate throw({
12275- unauthorized: 'Error message here.' });
12282+ // user is not authorized to make the change but may
12283+ // re-authenticate throw({ unauthorized: 'Error message here.' });
1227612284 // change is not allowed throw({ forbidden: 'Error message here.' });
1227712285 ```
1227812286 The function takes 4 parameters:
@@ -12392,8 +12400,8 @@ def __init__(
1239212400 The validation function can abort the pending document write by throwing
1239312401 one of two error objects:
1239412402 ```
12395- // user is not authorized to make the change but may re-authenticate
12396- throw({ unauthorized: 'Error message here.' });
12403+ // user is not authorized to make the change but may
12404+ // re-authenticate throw({ unauthorized: 'Error message here.' });
1239712405 // change is not allowed throw({ forbidden: 'Error message here.' });
1239812406 ```
1239912407 The function takes 4 parameters:
0 commit comments