Skip to content

Instantly share code, notes, and snippets.

@hi-ko
Last active December 6, 2019 09:48
Show Gist options
  • Save hi-ko/10f378d28269116a83bc84ef72ac06b2 to your computer and use it in GitHub Desktop.
Save hi-ko/10f378d28269116a83bc84ef72ac06b2 to your computer and use it in GitHub Desktop.
solr snippets
alfresco.lag=1000
alfresco.hole.retention=3600000
# alfresco.hole.check.after is not used yet
# It will reduce the hole checking load
alfresco.hole.check.after=300000
alfresco.batch.count=5000
alfresco.recordUnindexedNodes=false
enable.alfresco.tracking=true
# Tracking
alfresco.corePoolSize=8
alfresco.maximumPoolSize=-1
alfresco.keepAliveTime=120
alfresco.threadPriority=5
alfresco.threadDaemon=true
alfresco.workQueueSize=-1
# HTTP Client
alfresco.maxTotalConnections=200
alfresco.maxHostConnections=200
alfresco.socketTimeout=360000
# SOLR caching
solr.filterCache.size=256
solr.filterCache.initialSize=128
solr.queryResultCache.size=1024
solr.queryResultCache.initialSize=1024
solr.documentCache.size=1024
solr.documentCache.initialSize=1024
solr.queryResultMaxDocsCached=2048
solr.authorityCache.size=128
solr.authorityCache.initialSize=64
solr.pathCache.size=256
solr.pathCache.initialSize=128
solr.ownerCache.size=128
solr.ownerCache.initialSize=64
solr.readerCache.size=128
solr.readerCache.initialSize=64
solr.deniedCache.size=128
solr.deniedCache.initialSize=64
# SOLR
solr.maxBooleanClauses=10000
# Batch fetch
alfresco.transactionDocsBatchSize=500
alfresco.nodeBatchSize=100
alfresco.changeSetAclsBatchSize=500
alfresco.aclBatchSize=100
alfresco.contentReadBatchSize=4000
alfresco.contentUpdateBatchSize=1000
# Warming
solr.filterCache.autowarmCount=32
solr.authorityCache.autowarmCount=4
solr.pathCache.autowarmCount=32
solr.deniedCache.autowarmCount=0
solr.readerCache.autowarmCount=0
solr.ownerCache.autowarmCount=0
solr.queryResultCache.autowarmCount=4
solr.documentCache.autowarmCount=512
solr.queryResultWindowSize=512
#
# TODO
#
# cross language support
# locale expansion
# logging check report ....
#
#
alfresco.commitInterval=2000
alfresco.newSearcherInterval=3000
alfresco.doPermissionChecks=true
# Evaluate permissions as a PostFilter. Setting this to false will evaluate permissions as a Query.
alfresco.postfilter=true
#
# Metadata pulling control
#
alfresco.metadata.skipDescendantDocsForSpecificTypes=false
alfresco.metadata.ignore.datatype.0=cm:person
alfresco.metadata.ignore.datatype.1=app:configurations
alfresco.metadata.skipDescendantDocsForSpecificAspects=false
#alfresco.metadata.ignore.aspect.0=
alfresco.topTermSpanRewriteLimit=1000
#
# Suggestions
#
solr.suggester.enabled=true
# -1 to disable suggester build throttling
solr.suggester.minSecsBetweenBuilds=3600
#
# Limit the maximum text size of transformed content sent to the index - in bytes
#
alfresco.contentStreamLimit=10000000
#Sharding default values
shard.method=DB_ID
#Wed May 22 00:14:14 UTC 2019
alfresco.template=rerank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment