Hi,
Dovecot wiki says the solr url is something like 'solr/dovecot/' but this gives a 404, if I install solr as per the docs I have a 'solr/#/dovecot/' url:
https://wiki.dovecot.org/Plugins/FTS/Solr
I have installed dovecot 2.3 from https://repo.dovecot.org/ and solr 8.3 as per the wiki on a Ubuntu 18.04.
The problem and the guess work I did:
fts_solr = url=http://localhost:8983/solr/#/dovecot/
doveconf: Warning: Configuration file /etc/dovecot/conf.d/90-plugin.conf line 13: Ambiguous '#' character in line, treating it as comment. Add a space before it to remove this warning.
fts_solr = url="http://localhost:8983/solr/#/dovecot/"
Error: fts: Failed to initialize backend 'solr': fts_solr: Failed to parse HTTP url: Path component contains invalid character
fts_solr = url='http://localhost:8983/solr/#/dovecot/'
Error: fts: Failed to initialize backend 'solr': fts_solr: Failed to parse HTTP url: Relative HTTP URL not allowed
fts_solr = url=http://localhost:8983/solr/%23/dovecot/
Error: Failed to expand plugin setting fts_solr = 'url=http://localhost:8983/solr/%23/dovecot/': Unknown variable '%/'
fts_solr = 'url=http://localhost:8983/solr/#/dovecot/'
fts_solr: Failed to parse HTTP url: URL fragment not allowed for HTTP URL in this context
Thanks for any help.
-- *Marcio Merlone=*