fts_solr and # char
Marcio Merlone
marcio.merlone at a1.ind.br
Mon Dec 2 21:34:38 EET 2019
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=*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20191202/7bcca1c7/attachment-0001.html>
More information about the dovecot
mailing list