Hi I am giving Solr another try. Using Solr 7.5 (from Archlinux AUR), I do not see anymore the"solr/conf/schema.xml" neither the "managed-schema" folder. (as per https://wiki.dovecot.org/Plugins/FTS/Solr) Maybe some things have moved ? Thank you so much -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181204/81cbc232/attachment.html>
In the Wiki, ( https://wiki.dovecot.org/Plugins/FTS/Solr ), it would nice to stipulate to the reader to type the command : sudo -u solr /opt/solr/bin/solr create -c dovecot # to create the dovecot instance before updating the schema.xml . Also, schema.xml is in /opt/solr/server/solr/dovecot/conf for archlinux users Additionaly, the url is http://(solr_ [1]server):8983/solr/dovecot/ (error in wiki) On 2018-12-04 19:01, Joan Moreau via dovecot wrote:> Hi > > I am giving Solr another try. > > Using Solr 7.5 (from Archlinux AUR), I do not see anymore the"solr/conf/schema.xml" neither the "managed-schema" folder. (as per https://wiki.dovecot.org/Plugins/FTS/Solr) > > Maybe some things have moved ? > > Thank you so muchLinks: ------ [1] http://(solr -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181204/29810f7a/attachment.html>
also, the value "break-imap-search" is not supported in fts_solr parameter, contrary to the wiki and not sure then how to enable full text search in BODY On 2018-12-04 19:40, Joan Moreau via dovecot wrote:> In the Wiki, ( https://wiki.dovecot.org/Plugins/FTS/Solr ), it would nice to stipulate to the reader to type the command : > > sudo -u solr /opt/solr/bin/solr create -c dovecot # to create the dovecot instance > > before updating the schema.xml . > > Also, schema.xml is in /opt/solr/server/solr/dovecot/conf for archlinux users > > Additionaly, the url is http://(solr_ [1]server):8983/solr/dovecot/ (error in wiki) > > On 2018-12-04 19:01, Joan Moreau via dovecot wrote: > >> Hi >> >> I am giving Solr another try. >> >> Using Solr 7.5 (from Archlinux AUR), I do not see anymore the"solr/conf/schema.xml" neither the "managed-schema" folder. (as per https://wiki.dovecot.org/Plugins/FTS/Solr) >> >> Maybe some things have moved ? >> >> Thank you so muchLinks: ------ [1] http://(solr -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181204/4ca4970a/attachment.html>
On 12/4/2018 10:40 AM, Joan Moreau via dovecot wrote:> > In the Wiki, ( https://wiki.dovecot.org/Plugins/FTS/Solr ), it would > nice to stipulate to the reader? to type the command : > > sudo -u solr /opt/solr/bin/solr create -c dovecot # to create the > dovecot instance > > before updating the schema.xml . > > Also,? schema.xml is in /opt/solr/server/solr/dovecot/conf for > archlinux users > > Additionaly, the url is http://(solr_ > <http://(solr>server):8983/solr/dovecot/ (error in wiki) >After installing Solr, wherever the installation sets up there should a folder similar to: <your prefix>/solr/server/solr/configsets If you look there, you'll probably see folders like '_default' and 'sample_techproducts_configs'.? I haven't played with the 'techproducts' sample.? Copy the '_default' folder, with all its contents, to a 'dovecot' folder.? In the new dovecot folder, replace the 'managed-schema' file with the file from the Dovecot Wiki https://wiki.dovecot.org/Plugins/FTS/Solr?action=AttachFile&do=view&target=solr-7.x-schema.xml after that, you should be able to run 'solr /opt/solr/bin/solr create -c dovecot' to create the instance.? If things still don't work let us know. The schema is one I've tweaked and updated during my own migrations since Solr 3.3.? It's possible there's something else in my config that needs documenting - but having experienced Solr search against my mailstore I never want to be without it. Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181210/05e89246/attachment.html>