jkdv at w3.org
2023-Mar-27 13:28 UTC
How to use dovecot with more recent versions of solr (8x, 9x)?
Hello, dovecot version 2.3.13 (89f716dc2) The dovecot solr installation guide [1] gives links and configuration info for sorl 7.7.0. However, sorl was deprecated some time ago. Those links to 7.7.0 don't work anymore. Sorl is currently available in versions 8.11.2 and 9.1.1 [3]. Specifically, one section in the guide states [2]: [[ Install schema.xml and solrconfig.xml Copy doc/solr-config-7.7.0.xml and doc/solr-schema-7.7.0.xml (Since Dovecot 2.3.6+) to /var/solr/data/dovecot/conf/ as solrconfig.xml and schema.xml. The managed-schema file is generated based on schema.xml. ]] Could someone confirm me if those 7.7.0 configuration files are compatible with 8.11.2? A diff between those files and the ones from the 8.11.2 dist reveal some changes, starting from the LuceneVersion. If they are not compatible, could someone tell me what changes were done in the doc/solr files that need to be replicated in the 8.x and 9.x versions? The doc is very opaque there as it only states that you should replace those files but doesn't go into details as to why, making it confusing on how to upgrade to a new version of solr. It would be great if the dovecot/solr doc page could be upgraded to reflect the new versions of solr. Thanks in advance for your help, --jose [1] https://doc.dovecot.org/configuration_manual/fts/solr/ [2] https://doc.dovecot.org/configuration_manual/fts/solr/#solr-configuration [3] https://downloads.apache.org/lucene/solr/
Thomas Zajic
2023-Mar-27 17:00 UTC
How to use dovecot with more recent versions of solr (8x, 9x)?
* jkdv at w3.org, 27.03.23 15:28> [...] > Could someone confirm me if those 7.7.0 configuration files are compatible with > 8.11.2? A diff between those files and the ones from the 8.11.2 dist reveal some > changes, starting from the LuceneVersion. > [...]Following https://dovecot.org/pipermail/dovecot/2022-May/124701.html and its replies worked fine here upgrading to 8.11.2. Have not tried 9.x yet, though. HTH Thomas
Reasonably Related Threads
- SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
- SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
- removing 'use_libfts' from dovecot fts_solr config; docs/examples of solr-backend-only tokenizer config for dovecot?
- v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]
- v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]