[SolrSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [SolrSettings] of settings/solr.ini.
File
settings/solr.ini; override it in settings/override/solr.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| Enabled | false | Master switch. While false, exp:solr reports "not configured" and refuses to start, whatever else is set below. |
| Url | (empty) | A running Solr to talk to, base URL including scheme and port, no trailing path, e.g. http://127.0.0.1:8983 . When set, exp:solr status pings it and start/stop report that the instance is managed externally (a remote Solr is not this command's to start or stop). |
| BinaryPath | (empty) | The Solr control binary for a Solr installed on THIS machine, e.g. /opt/solr/bin/solr . When set (and Url is empty) exp:solr start/stop/restart manage that local process with its own start/stop subcommands. |
| Host | 127.0.0.1 | The local instance's bind host and port (used with BinaryPath, and to build a ping URL when Url is empty). |
| Port | 8983 | |
| DataDir | (empty) | Solr home / data directory for the local instance. Left empty, Solr's own default applies. |
| RunDir | var/vc/solr/run | Where exp:solr keeps this installation's Solr pid, logs and (optional) data, mirroring the Velocity on-disk layout (var/vc/<engine>/...). |
| LogDir | var/vc/solr/log | |
| StartTimeout | 60 | How long to wait (seconds) for the port to answer after a start. |
See also
Generated example: solr.ini [SolrSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/solr.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment