Siarhei: Will you be putting up your system at github? I would like to Solr-ize my dovecot.
Maybe you saw this already: https://github.com/dovecot/core/blob/master/doc/solr-schema.xml https://github.com/dovecot/core/blob/master/src/plugins/fts-solr/solr-connection.c https://github.com/dovecot/core/blob/master/src/plugins/fts-solr/fts-solr-plugin.h https://github.com/bdraco/dovecot/blob/master/doc/wiki/Plugins.FTS.Solr.txt Cheers -- Rick On December 28, 2017 4:15:06 PM EST, Siarhei Chystsiakou <brest...@gmail.com> wrote: >Hi >Does anyone have any idea how to fix this? > >2017-12-27 13:34 GMT+01:00 Siarhei Chystsiakou <brest...@gmail.com>: > >> Hi everybody! >> I try integration Solr 6.6.1 with my email server (dovecot 2.32). I >have >> the following settings: >> >> schema.xml - https://pastebin.com/1XXWTs8V >> solrconfig.xml - https://pastebin.com/5HSswCcv >> >> But under these settings, the search works only on the full >coincidence, >> for instance, if I search for Chris it doesn't find Christmas. The >client >> does not support wildcard search. I would like to know how to turn on >> wildcard search for all queries. >> >> I tried to do that by adding the following line to schema.xml >> >> <filter class="solr.NGramFilterFactory" minGramSize="3" >maxGramSize="25"/> >> >> but when I added it, Solr 6.6.1 very often showed errors during the >> indexing, which led to its full crash, even the web interface didn't >> respond, only the full Solr restart helped. This problem emerged both >on >> Solr 6.6.1 and Solr 7.2 >> >> Also, in case of this option, the search result was not what I >expected. >> For example, when I searched for the word domain, the words domes and >> domain were also included. I suppose, that from the point of view of >this >> operation, the result is correct, but this is not what I need. >> >> That is why I would like to know, how to turn on the standard >wildcard >> search. As it is impossible on the client's side, I would like to >manage it >> from the Solr side. >> >> Thanks. >> >> -- Sorry for being brief. Alternate email is rickleir at yahoo dot com