|
Couchbase Lite C
Couchbase Lite C API
|
Go to the source code of this file.
Variables | |
CBLDatabaseConfiguration | |
| CBL_PUBLIC const bool | kCBLDefaultDatabaseFullSync |
| [false] Full sync is off by default because the performance hit is seldom worth the benefit | |
| CBL_PUBLIC const bool | kCBLDefaultDatabaseMmapDisabled |
| [false] Memory mapped database files are enabled by default | |
CBLLogFileConfiguration | |
| CBL_PUBLIC const bool | kCBLDefaultLogFileUsePlaintext |
| [false] Plaintext is not used, and instead binary encoding is used in log files | |
| CBL_PUBLIC const size_t | kCBLDefaultLogFileMaxSize |
| [524288] 512 KiB for the size of a log file | |
| CBL_PUBLIC const uint32_t | kCBLDefaultLogFileMaxRotateCount |
| [1] 1 rotated file present (2 total, including the currently active log file) | |
CBLFileLogSink | |
| CBL_PUBLIC const bool | kCBLDefaultFileLogSinkUsePlaintext |
| [false] Plaintext is not used, and instead binary encoding is used in log files | |
| CBL_PUBLIC const size_t | kCBLDefaultFileLogSinkMaxSize |
| [524288] 512 KiB for the size of a log file | |
| CBL_PUBLIC const uint32_t | kCBLDefaultFileLogSinkMaxKeptFiles |
| [2] 2 files preserved during each log rotation | |
CBLFullTextIndexConfiguration | |
| CBL_PUBLIC const bool | kCBLDefaultFullTextIndexIgnoreAccents |
| [false] Accents and ligatures are not ignored when indexing via full text search | |
CBLReplicatorConfiguration | |
| CBL_PUBLIC const CBLReplicatorType | kCBLDefaultReplicatorType |
| [kCBLReplicatorTypePushAndPull] Perform bidirectional replication | |
| CBL_PUBLIC const bool | kCBLDefaultReplicatorContinuous |
| [false] One-shot replication is used, and will stop once all initial changes are processed | |
| CBL_PUBLIC const unsigned | kCBLDefaultReplicatorHeartbeat |
| [300] A heartbeat messages is sent every 300 seconds to keep the connection alive | |
| CBL_PUBLIC const unsigned | kCBLDefaultReplicatorMaxAttemptsSingleShot |
| [10] When replicator is not continuous, after 10 failed attempts give up on the replication | |
| CBL_PUBLIC const unsigned | kCBLDefaultReplicatorMaxAttemptsContinuous |
| [UINT_MAX] When replicator is continuous, never give up unless explicitly stopped | |
| CBL_PUBLIC const unsigned | kCBLDefaultReplicatorMaxAttemptsWaitTime |
| [300] Max wait time between retry attempts in seconds | |
| CBL_PUBLIC const bool | kCBLDefaultReplicatorDisableAutoPurge |
| [false] Purge documents when a user loses access | |
| CBL_PUBLIC const bool | kCBLDefaultReplicatorAcceptParentCookies |
| [false] Whether or not a replicator only accepts cookies for the sender's parent domains | |
CBLVectorIndexConfiguration | |
| CBL_PUBLIC const bool | kCBLDefaultVectorIndexLazy |
| [false] Vectors are not lazily indexed, by default | |
| CBL_PUBLIC const CBLDistanceMetric | kCBLDefaultVectorIndexDistanceMetric |
| [kCBLDistanceMetricEuclideanSquared] By default, vectors are compared using Squared Euclidean metric. | |
| CBL_PUBLIC const unsigned | kCBLDefaultVectorIndexMinTrainingSize |
| [0] By default, the value will be determined based on the number of centroids, encoding types, and the encoding parameters. | |
| CBL_PUBLIC const unsigned | kCBLDefaultVectorIndexMaxTrainingSize |
| [0] By default, the value will be determined based on the number of centroids, encoding types, and the encoding parameters | |
| CBL_PUBLIC const unsigned | kCBLDefaultVectorIndexNumProbes |
| [0] By default, the value will be determined based on the number of centroids. | |