Well, "break-imap-search" option prevent dovecot from starting. I used solr on one server since yesterday. First feedback is that * BODY search is not working * FTS is not really working in headers : For instance, if you search "kliinik" but you type "kliini" (missing one k), the search does not return anything , whereas it shall return more results (as the keyword is smaller) that the intended search On 2018-12-05 07:55, Aki Tuomi wrote:> Full text search gets enabled automatically, although your probably want to set fts_enforced=yes to make sure it's used for all kinds of things automatically. break-imap-search is supported, but does nothing. > > Updated the wiki a bit. > > Aki > > On 4.12.2018 20.50, Joan Moreau via dovecot wrote: > > 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/20181205/b9eb40cb/attachment.html>
Can you provide doveconf -n did you set plugin { fts_enforced=yes } Aki On 5.12.2018 11.50, Joan Moreau wrote:> > Well, "break-imap-search" option prevent dovecot from starting. > > > I used solr on one server since yesterday. > > > First feedback is that > > * BODY search is not working > > * FTS is not really working in headers : For instance, if you search > "kliinik" but you type "kliini" (missing one k), the search does not > return anything , whereas it shall return more results (as the keyword > is smaller) that the intended search > > > ? > > > On 2018-12-05 07:55, Aki Tuomi wrote: > >> Full text search gets enabled automatically, although your probably >> want to set fts_enforced=yes to make sure it's used for all kinds of >> things automatically. break-imap-search is supported,? but does nothing. >> >> Updated the wiki a bit. >> >> Aki >> >> On 4.12.2018 20.50, Joan Moreau via dovecot wrote: >>> >>> 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_ >>> <http://(solr>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 much >>> >>> >>>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181205/69fd19b3/attachment-0001.html>
It seems we forgot to document that "break-imap-search" was dropped in v2.3. That has now been updated. Also Solr does not support prefix/substring search unless you configure solr to support it. Aki On 5.12.2018 11.50, Joan Moreau wrote:> > Well, "break-imap-search" option prevent dovecot from starting. > > > I used solr on one server since yesterday. > > > First feedback is that > > * BODY search is not working > > * FTS is not really working in headers : For instance, if you search > "kliinik" but you type "kliini" (missing one k), the search does not > return anything , whereas it shall return more results (as the keyword > is smaller) that the intended search > > > ? > > > On 2018-12-05 07:55, Aki Tuomi wrote: > >> Full text search gets enabled automatically, although your probably >> want to set fts_enforced=yes to make sure it's used for all kinds of >> things automatically. break-imap-search is supported,? but does nothing. >> >> Updated the wiki a bit. >> >> Aki >> >> On 4.12.2018 20.50, Joan Moreau via dovecot wrote: >>> >>> 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_ >>> <http://(solr>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 much >>> >>> >>>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181205/18fcf5d1/attachment.html>
THen the Squat shall be maintained until the SOlr plugin is upgraded, as Squat does resolve the problem (fts, partial search, etc...) On 2018-12-05 12:20, Aki Tuomi wrote:> It seems we forgot to document that "break-imap-search" was dropped in v2.3. That has now been updated. > > Also Solr does not support prefix/substring search unless you configure solr to support it. > > Aki > > On 5.12.2018 11.50, Joan Moreau wrote: > > Well, "break-imap-search" option prevent dovecot from starting. > > I used solr on one server since yesterday. > > First feedback is that > > * BODY search is not working > > * FTS is not really working in headers : For instance, if you search "kliinik" but you type "kliini" (missing one k), the search does not return anything , whereas it shall return more results (as the keyword is smaller) that the intended search > > On 2018-12-05 07:55, Aki Tuomi wrote: > > Full text search gets enabled automatically, although your probably want to set fts_enforced=yes to make sure it's used for all kinds of things automatically. break-imap-search is supported, but does nothing. > > Updated the wiki a bit. > > Aki > > On 4.12.2018 20.50, Joan Moreau via dovecot wrote: > > 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/20181205/64dc8d61/attachment.html>