perf.target=.

# Use a bigger pool size for db/vcs
nuxeo.db.max-pool-size=52
nuxeo.vcs.max-pool-size=50

# Use a descent cache size for directories
nuxeo.cache.maxsize=510
nuxeo.cache.ttl=20
nuxeo.cache.concurrencylevel=50

# Use Elasticsearch for all page provider
elasticsearch.override.pageproviders=default_search,document_content,section_content,document_content,tree_children,default_document_suggestion,simple_search,advanced_search,nxql_search,DEFAULT_DOCUMENT_SUGGESTION,REST_API_SEARCH_ADAPTER

# Disable db fulltext indexing
nuxeo.vcs.fulltext.search.disabled=true

# Disable db stored procedure
nuxeo.vcs.optimizations.acl.enabled=false
nuxeo.vcs.optimizations.path.enabled=false

# When in cluster mode use Redis PubSub invalidation
repository.clustering.invalidation=pubsub

# Do not use Redis for directory cache
nuxeo.cache.type=memory

# Tune Elasticsearch indexing
elasticsearch.indexing.maxThreads=6
elasticsearch.reindex.bucketReadSize=1000
elasticsearch.reindex.bucketWriteSize=200
#elasticsearch.indexing.clearCompletedAfterSeconds=30
elasticsearch.adminCenter.displayClusterInfo=true
