-
Notifications
You must be signed in to change notification settings - Fork 14
/
solr-undertow-reference.conf
75 lines (55 loc) · 2.7 KB
/
solr-undertow-reference.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
solr.undertow: {
# Port and Host for the main Solr listener (the one given to Zookeeper as well)
httpClusterPort: 8983
httpHost: "0.0.0.0"
# Defaults to number of cores Runtime.getRuntime().availableProcessors()
httpIoThreads: -1
# Defaults to 8 * number of cores Runtime.getRuntime().availableProcessors()*8
httpWorkerThreads: -1
# Defaults to false, no HTTP compression
httpCompression: false
# Shutdown options
shutdown: {
httpPort: 9983
httpHost: "0.0.0.0"
# if password is not set, shutdown is not enabled. Make this a secure password!
password: ""
gracefulDelay: "30s"
}
# Request limiting active profiles
activeRequestLimits: [ ]
# Request Limiting profiles
requestLimits: {
}
# REQUIRED:
solrHome: "setting solrHome in configuration is required and must contain solr.xml and zoo.cfg, indexes will be stored here"
# REQUIRED:
solrLogs: "setting solrLogs in configuration is required, point at a log directory"
# REQUIRED:
tempDir: "setting tempDir in configuration is required, point at a temp directory"
# Solr version, used to name cache directory and sometimes as variable expansion for solrWarFile setting
solrVersion: "UNKNOWN"
# REQUIRED:
solrWarFile: "setting solrWarFile in configuration is required, point at a solr war file matching solrVersion"
# Path within the web server for Solr
solrContextPath: "/solr"
# Same as zkRun Solr system property, overridden if -DzkRun is set in the VM
zkRun: false
# Same as zkHost Solr system property, overridden if -DzkHost is set in the VM
zkHost: ""
# Dir containing extra JAR files to put on the Solr classpath
libExtDir: ""
# Format for HTTP access logs
# accessLogFormat="common" produces "%h %l %u %t \"%r\" %s %b"
# accessLogFormat="combined" produces "%h %l %u %t \"%r\" %s %b \"%{i,Referer}\" \"%{i,User-Agent}\""
# acesssLogFormat=any other custom format string (see JavaDoc comments for: https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/server/handlers/accesslog/AccessLogHandler.java)
accessLogFormat: "%t %a %p \"%r\" %q %s %b %Dms %{o,X-Solr-QTime} ${o,X-Solr-Hits}"
# Should timing be tracked for each request, adds slight overhead
accessLogEnableRequestTiming: true
# If running embedded, the WAR file can be ommitted if the classpath contains Solr already
solrWarCanBeOmitted: false
# If tempDir contains symbolic links they are blocked for security reasons by default because web content is served from this dir, but can be enabled
tempDirSymLinksAllow: false
# If tempDir can contain symbolic links, to what ABSOLUTE paths are they allowed to access? (or empty for ALL)
tempDirSymLinksSafePaths: []
}