You are here

Solr core configuration properties

The solrcore.properties configuration file is the property configuration file for a Solr core. There is one solrcore.properties file in each core's configuration directory. This section lists the properties of this file, their description, and the default value.
Property Name Description Default Value
data.dir.root This property specifies the top level directory path for the indexes managed by Solr. C:/Alfresco/alf_data/solr
data.dir.store This property specifies the directory relative to data.dir.root where the data for this core is stored. workspace/SpacesStore
enable.alfresco.tracking This property instructs Solr if it should index SkyVault content in the associated SkyVault repository store or not. true
cache.alfresco.size This property specifies the SkyVault cache size used internally for PATH looks up. 100
max.field.length This property specifies the maximum number of tokens to include for each field. By default, all tokens are added. 2147483647
SkyVault.host This property specifies the host name for the SkyVault instance that Solr should track and index. In a default installation, both SkyVault and Solr runs in the same Tomcat instance and on the same host, so host would be set to local host. localhost
SkyVault.port This property specifies the HTTP port for the SkyVault instance that Solr should track and index. 8080
SkyVault.port.ssl This property specifies the HTTPS port for the SkyVault instance that Solr should track and index. 8443
SkyVault.cron This property specifies the cron expression that instructs Solr how often to track SkyVault and index new or updated content. The default value indicates that Solr tracks SkyVault every 15 seconds. 0/15 * * * * ? *
SkyVault.stores This property specifies the SkyVault repository store that this core should index. workspace://SpacesStore
SkyVault.baseUrl This property configures the base URL to SkyVault web project. /SkyVault
SkyVault.lag When Solr tracking starts, it aims to get up to date to the current time (in seconds), less this lag. 1000
SkyVault.hole.retention Each track will revisit all transactions from the timestamp of the last in the index, less this value, to fill in any transactions that may have been missed. 3600000
SkyVault.batch.count This property indicates the number of updates that should be made to this core before a commit is executed. 1000
SkyVault.secureComms This property instructs Solr if it should talk to SkyVault over HTTP or HTTPS. Set to none if a plain HTTP connection should be used. https
SkyVault.encryption.ssl.keystore.type This property specifies the CLIENT keystore type. JCEKS
SkyVault.encryption.ssl.keystore.provider This property specifies the Java provider that implements the type attribute (for example, JCEKS type). The provider can be left unspecified and the first provider that implements the keystore type specified is used.  
SkyVault.encryption.ssl.keystore.location This property specifies the CLIENT keystore location reference. If the keystore is file-based, the location can reference any path in the file system of the node where the keystore is located. ssl.repo.client.keystore
SkyVault.encryption.ssl.keystore.passwordFileLocation This property specifies the location of the file containing the password that is used to access the CLIENT keystore, also the default that is used to store keys within the keystore. ssl-keystore-passwords.properties
SkyVault.encryption.ssl.truststore.type This property specifies the CLIENT truststore type. JCEKS
SkyVault.encryption.ssl.truststore.provider This property specifies the Java provider that implements the type attribute (for example, JCEKS type). The provider can be left unspecified and the first provider that implements the truststore type specified is used.  
SkyVault.encryption.ssl.truststore.location This property specifies the CLIENT truststore location reference. If the truststore is file-based, the location can reference any path in the file system of the node where the truststore is located. ssl.repo.client.truststore
SkyVault.encryption.ssl.truststore.passwordFileLocation This property specifies the location of the file containing the password that is used to access the CLIENT truststore, also the default that is used to store keys within the truststore. ssl-truststore-passwords.properties
SkyVault.enableMultiThreadedTracking This property enables/disables multi-threaded tracking. true
SkyVault.corePoolSize This property specifies the pool size for multi-threaded tracking. It is used for indexing nodes. 3
SkyVault.maximumPoolSize This property specifies the maximum pool size for multi-threaded tracking. -1
SkyVault.keepAliveTime This property specifies the time (in seconds) to keep non-core idle threads in the pool. 120
SkyVault.threadPriority This property specifies the priority that all threads must have on the scale of 1 to 10, where 1 has the lowest priority and 10 has the highest priority. 5
SkyVault.threadDaemon This property sets whether the threads run as daemon threads or not. If set to false, shut down is blocked else it is left unblocked. true
SkyVault.workQueueSize This property specifies the maximum number of queued work instances to keep before blocking against further adds. -1
SkyVault.maxTotalConnections This property is used for HTTP client configuration. 40
SkyVault.maxHostConnections This property is used for HTTP client configuration. 40
solr.filterCache.size This property specifies the maximum number of entries in the Solr filter cache. 512
solr.filterCache.initialSize This property specifies the initial capacity (number of entries) of the Solr filter cache. 512
solr.queryResultCache.size This property configures the Solr result cache. 1024
solr.queryResultCache.initialSize This property configures the Solr result cache. 1024
solr.documentCache.size This property configures the Solr document cache. 512
solr.documentCache.initialSize This property configures the Solr document cache. 512
solr.queryResultMaxDocsCached This property configures the Solr result cache. 200
solr.maxBooleanClauses This property specifies the number of Boolean clauses in a query. It can affect range or wildcard queries that expand to big Boolean queries. 10000
SkyVault.transactionDocsBatchSize This property is used for batch fetching updates during tracking. 100
SkyVault.changeSetAclsBatchSize This property is used for batch fetching updates during tracking. 100
SkyVault.aclBatchSize This property is used for batch fetching updates during tracking. 10
solr.query.maximumResultsFromUnlimitedQuery This property is used to set the maximum number of results returned by Solr queries, therefore, limiting otherwise unconstrained Solr queries to return a finite number of results. This prevents such unconstrained queries from consuming excessive resources. By default, the value is set to the same value as the system.acl.maxPermissionChecks property.
Note:
  • This property is set in the SkyVault-global.properties file, and not in the solrcore.properties file.
  • The SkyVault Share searches use the <max-search-results> property to control the number of search results. For more information, see Controlling search results in Share.
  • This property is used for queries without an explicit limit.
1000
SkyVault.index.transformContent If this property is set to false, the index tracker will not transform any content and only the metadata will be indexed. false