search problem dovecot 2.2.21 + fts - Solr

Anderson Barbosa andersonb at gmail.com
Wed Feb 24 19:14:59 UTC 2016


Hello,

Realized update dovecot on my server. Now the search is returning
differently from the previous version bringing reference information of
other messages .
For example when doing a search for anderson.joao this new version of the
dovecot dovecot 2.2.21 + fts - Solr response will be all email that has the
word anderson and joao, instead of returning only items with the word
anderson.joao.

Before used version 2.2.18 + dovecot fts - Solr and the problem did not
occur .
For example practical test :

Dovecot 2.2.18


# telnet SERVER 143
Trying SERVER...
Connected to SERVER.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
AUTH=PLAIN] Zimbra IMAP4.
a login conta at conta.com.br 1223456
a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
MULTIAPPEND URL-PARTIAn
a select  INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
permitted.
* 14 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1452548222] UIDs valid
* OK [UIDNEXT 25] Predicted next UID
* OK [HIGHESTMODSEQ 52] Highest
a OK [READ-WRITE] Select completed (0.001 secs).
a SEARCH text "anderson"
* SEARCH 11 12 (2 found emails)
a OK Search completed (0.265 secs).
a SEARCH text "joao"
* SEARCH 13 14 (2 found emails)
a OK Search completed (0.003 secs).
a SEARCH text "anderson.joao"
* SEARCH (0 found emails)
a OK Search completed (0.004 secs).
a logout
* BYE Logging out
a OK Logout completed.
Connection closed by foreign host.


Dovecot 2.2.21

# telnet SERVER 143
Trying SERVER...
Connected to SERVER.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
AUTH=PLAIN] Zimbra IMAP4.
a login conta at conta.com.br 1223456
a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
MULTIAPPEND URL-PARTIAn
a select INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
permitted.
* 14 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1452548222] UIDs valid
* OK [UIDNEXT 25] Predicted next UID
* OK [HIGHESTMODSEQ 52] Highest
a OK [READ-WRITE] Select completed (0.000 + 0.000 secs).
a SEARCH text "anderson"
* SEARCH 11 12 (2 found emails)
a OK Search completed (0.004 + 0.000 secs).
a SEARCH text "joao" (2 found emails)
* SEARCH 13 14
a OK Search completed (0.005 + 0.000 secs).
a SEARCH text "anderson.joao"
* SEARCH 11 12 13 14 *(4 found emails)*
a OK Search completed (0.005 + 0.000 secs).
a logout
* BYE Logging out
a OK Logout completed.
Connection closed by foreign host.

Even using characters Special "" \ scape, ' ' for an answer will always be
all emails with the word anderson and joao.
Checking the Changelog dovecot noticed que NAS versions Previous v2.2.20
and v2.2.19 certain changes with respect to fts .

There Have Another way to Make Search for Exact Word In this new version to
loft?



-- 
Anderson Barbosa dos Santos

Em todo o universo, nada existe de mais parecido com Deus que o silêncio.
"Johanes Eckhart"


More information about the dovecot mailing list