A zc.buildout recipe to install a Solr server
Project description
Introduction
This recipe installs a Solr server with buildout.
It’s kept as simple as possible and contrary to collective.recipe.solrinstance it does not generate any Solr configuration files. Instead the user can provide a directory containing custom configuration files. A default set of configuration files for usage with Plone is provided.
You can use it by adding a part like this:
[buildout] parts = solr [solr] recipe = ftw.recipe.solr cores = core1
Supported options
The recipe supports the following options:
- host
Name or IP address of the Solr server. Defaults to localhost.
- port
Server port. Defaults to 8983.
- cores
List of cores that should be created.
- url
Url for Solr distribution download.
- md5sum
MD5 checksum of Solr distribution.
- jvm-opts
Can be used to configure JVM options. Defaults to -Xms512m -Xmx512m -Xss256k
- extra-opts
Extra options to pass to the Solr command line (separated by space). Empty by default.
- conf
Path to a directory containing Solr configuration files.
- conf-egg
If provided, the path given in conf is prepended with the path of the given egg.
- shards-whitelist
If specified, this list limits what nodes can be requested in the shards request parameter. See Configuring the ShardHandlerFactory
- configoverlay
Provide a configoverlay as documented in https://lucene.apache.org/solr/guide/8_4/config-api.html. This will override the default config in solrconfig.xml
Links
Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.recipe.solr
Copyright
This package is copyright by 4teamwork.
ftw.recipe.solr is licensed under GNU General Public License, version 2.
Changelog
1.3.9 (2024-04-02)
Use system property to enable remote streaming. [buchi]
1.3.8 (2023-10-12)
Add support for extra-opts (additional options for Solr cmdline). [lgraf]
1.3.7 (2022-07-05)
Add support for subdirectories in the configuration directory. [buchi]
1.3.6 (2021-12-20)
Fix system property for Log4j configuration file.
1.3.5 (2021-12-13)
Disable message lookups in log4j. Mitigation for CVE-2021-44228. [buchi]
1.3.4 (2020-07-31)
Add configoverlay option. [Kevin Bieri]
1.3.3 (2020-05-27)
Add shardsWhitelist to template. [lvonlanthen]
1.3.2 (2020-01-15)
Fix detection of running Solr on Linux used in bin/solr stop and bin/solr status. [siegy22]
1.3.1 (2019-07-08)
Respect SOLR environment variables set outside of the startup script [jone].
1.3.0 (2019-06-13)
Update Log4J configuration: Replace log4j.properties with log4j2.xml. Requires Solr 7.4.0 or later. [buchi]
Update default URL and solrconfig.xml to version 8.1.1. [buchi]
Add sortable_title and path_depth fields to provided schema. [buchi]
1.2.1 (2018-09-20)
Add ICUNormalizer2CharFilterFactory char filter in provided schema. This fixes handling of decomposed unicode (aka NFD, NFKD). [buchi]
Replace shell process by Solr process when starting in foreground. [buchi]
1.2.0 (2018-05-25)
Only chmod startup script to executable if it’s not already executable. [buchi]
Update default download url to version 7.3.1. [buchi]
Add missing Plone default fields to provided schema. [buchi]
1.1.0 (2018-02-05)
Add option to provide the Solr conf relative to an egg. [buchi]
1.0.0 (2018-02-02)
Initial release. [buchi]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ftw.recipe.solr-1.3.9.tar.gz
.
File metadata
- Download URL: ftw.recipe.solr-1.3.9.tar.gz
- Upload date:
- Size: 50.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170ce463e12f5f82d2dd0a08dcaa322043510eb0400100bfc2639379c267fad4 |
|
MD5 | 0a3634919a5b428622aa7c9603019d20 |
|
BLAKE2b-256 | 19198818dbf1aeab544af492d3d17ce11f33a63c7bbe11a15e47da31cbd28c1c |