package v1alpha1 // QueryServerConfig The external query server is a special OS process which communicates with CouchDB over standard input/output using a very simple line-based protocol with JSON messages. type QueryServerConfig struct { // Specifies the delay in seconds before view index changes are committed to disk. CommitFreq *int `json:"commit_freq,omitempty" ini:"commit_freq,omitempty"` // Hard limit on the number of OS processes usable by Query Servers. ProcessLimit *int `json:"processLimit,omitempty" ini:"os_process_limit,omitempty"` // The timeout for a process used by Query Servers. ProcessTimeout *int `json:"processTimeout,omitempty" ini:"os_process_timeout,omitempty"` // Soft limit on the number of OS processes usable by Query Servers. SoftLimit *int `json:"softLimit,omitempty" ini:"os_process_soft_limit,omitempty"` // Controls Reduce overflow error that raises when output of reduce functions. ReduceLimit *bool `json:"reduceLimit,omitempty" ini:"reduceLimit,omitempty"` } // NativeQueryConfig CouchDB has a native Erlang query server, allowing you to write your map/reduce functions in Erlang. type NativeQueryConfig struct { // Enables or disables the Native Erlang Query Server. Enable *bool `json:"enable,omitempty" ini:"enable_erlang_query_server,omitempty"` } // SearchConfig CouchDB’s search subsystem can be configured via the dreyfus configuration section. type SearchConfig struct { // The name and location of the Clouseau Java service required to enable Search functionality. Name *string `json:"name,omitempty" ini:"name,omitempty"` // The number of times CouchDB will try to reconnect to Clouseau. RetryLimit *int `json:"retryLimit,omitempty" ini:"retry_limit,omitempty"` // The number of results returned from a global search query if no limit is specified. Limit *int `json:"limit,omitempty" ini:"limit,omitempty"` // The number of results returned from a search on a partition of a database if no limit is specified. LimitPartitions *int `json:"limitPartitions,omitempty" ini:"limit_partitions,omitempty"` // The maximum number of results that can be returned from a global search query. MaxLimit *int `json:"maxLimit,omitempty" ini:"max_limit,omitempty"` // The maximum number of results that can be returned when searching a partition of a database. MaxLimitParts *int `json:"maxLimitPartitions,omitempty" ini:"max_limit_partitions,omitempty"` }