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]
Metadata
Release files for ftw.recipe.solr 1.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ftw.recipe.solr-1.3.9.tar.gz | 50.5 kB | Without provenance | Details for ftw.recipe.solr-1.3.9.tar.gz |
Release files / ftw.recipe.solr-1.3.9.tar.gz
| Download URL | ftw.recipe.solr-1.3.9.tar.gz |
|---|---|
| Size | 50.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
170ce463e12f5f82d2dd0a08dcaa322043510eb0400100bfc2639379c267fad4
|
|
BLAKE2b-256 checksum How to use checksums |
19198818dbf1aeab544af492d3d17ce11f33a63c7bbe11a15e47da31cbd28c1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for ftw.recipe.solr 1.3.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.