3.3.1. Configuration properties

The following table describes all Elastic Social configuration properties.

Property Description Example
mongoDb.prefix Prefix for MongoDB database names. Change this when sharing a MongoDB installation with other Elastic Core applications. blueprint
mongoDb.clientURI The standard MongoDB connection string URI is used to configure your MongoDB connection, for example, it allows you to configure read preferences and write concerns. The format of a client URI is documented under the following link: http://docs.mongodb.org/manual/reference/connection-string/. mongodb://mongo1:27017, mongo2:27017/?w=1
counters.aggregationInterval Interval in milliseconds in which aggregated values for all historic counter events will be updated. Defaults to 86400000 (24 h). 86400000
counters.aggregationInterval.daily Interval in milliseconds in which aggregated values for counter events of the last 24 hours will be updated. Defaults to 300000 (5 min). 30000
counters.aggregationInterval.weekly Interval in milliseconds in which aggregated values for counter events of the last 7 days will be updated. Defaults to 10800000 (3 hours). 10800000
counters.aggregationInterval.monthly Interval in milliseconds in which aggregated values for counter events of the last 30 days will be updated. Defaults to 86400000 (24 hours). 86400000
counters.aggregationInterval.yearly Interval in milliseconds in which aggregated values for counter events of the last 365 days will be updated. Defaults to 86400000 (24 hours). 86400000
models.createIndexes Set to false to skip index creation on startup. This can be useful to speed up initial data import. Make sure to set this true before production use. true
taskQueues.workerNode Set to false to disable execution of background tasks. This setting can be used to differentiate web applications nodes into worker nodes which only execute background tasks and rendering nodes which serve requests. Defaults to false. true
comments.autoReject.limit A number of complaints after which a comment will automatically be rejected. Set to 0 to disable automatic rejection. Defaults to 0. 10
comments.autoReject.interval Interval in milliseconds in which comments will be automatically rejected when the number of complaints reaches the limit comments.autoReject.limit. Defaults to 300000. 60000
users.autoBlock.limit A number of complaints after which a user will automatically be blocked. Set to 0 to disable automatic rejection. Defaults to 0. 10
users.autoBlock.interval Interval in milliseconds in which users will be automatically blocked when the number of complaints reaches the limit users.autoBlock.limit. Defaults to 300000. 60000
users.token.expirationTime Token expiration time in milliseconds, defines the lifetime of the user token used for user activation and password reset. After expiration, the token becomes invalid. Defaults to 604800000 (1 week). 604800000
elastic.solr.indexPrefix Prefix for Apache Solr index names. Change this when sharing an Apache Solr installation with other Elastic Core applications. blueprint
elastic.solr.indexConfig Name of the Apache Solr config set for Elastic Core applications. This config set must exist as subdirectory of <solr-home>/configsets. elastic
elastic.solr.url Apache Solr URL http://solr.example.com:44080/solr
elastic.solr.connectionTimeout Apache Solr HTTP connection timeout in milliseconds. A value of zero is interpreted as an infinite timeout. 0
elastic.solr.socketTimeout Apache Solr HTTP socket read timeout in milliseconds. A value of zero is interpreted as an infinite timeout. 600000
elastic.solr.maxConnections Apache Solr maximum number of HTTP connections. 100
keep.https.after.logout Set to true to keep https after a shop user logged out. false (default)

Table 3.3. Configuration properties