newConfig
Create a FullTextIndexConfiguration, overriding the receiver's values with the passed parameters:
Parameters
(required) the expressions to be matched.
See also
Create a ValueIndexConfiguration, overriding the receiver's values with the passed parameters:
Parameters
(required) the expressions to be matched.
See also
Create a LogFileConfiguration, overriding the receiver's values with the passed parameters:
Parameters
(required) the directory in which the logs files are stored.
the max size of the log file in bytes.
the number of rotated logs that are saved.
whether or not to log in plaintext.
See also
Create a DatabaseConfiguration, overriding the receiver's values with the passed parameters:
Parameters
The directory in which the database is stored.
See also
Create a ReplicatorConfiguration, overriding the receiver's values with the passed parameters:
Note: A document that is blocked by a document Id filter will not be auto-purged regardless of the setting of the enableAutoPurge property
Parameters
(required) the local database.
(required) The max size of the log file in bytes.
replicator type: push, pull, or push and pull: default is push and pull.
continuous flag: true for continuous, false by default.
connection authenticator.
extra HTTP headers to send in all requests to the remote target.
target server's SSL certificate.
Sync Gateway channel names.
IDs of documents to be replicated: default is all documents.
filter for pushed documents.
filter for pulled documents.
conflict resolver.
max retry attempts after connection failure.
max time between retry attempts (exponential backoff).
heartbeat interval, in seconds.
auto-purge enabled.
Advanced: accept cookies for parent domains.