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_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