[dovecot/core] 4a3584: fts: Fix searching SEARCH_HEADER_ADDRESS/COMPRESS_...

GitHub noreply at github.com
Wed Feb 7 13:00:17 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 4a3584d6abec84ffd4d430667c6a7c58bb3f8b1a
      https://github.com/dovecot/core/commit/4a3584d6abec84ffd4d430667c6a7c58bb3f8b1a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-05 (Mon, 05 Feb 2018)

  Changed paths:
    M src/plugins/fts/fts-search-args.c

  Log Message:
  -----------
  fts: Fix searching SEARCH_HEADER_ADDRESS/COMPRESS_LWSP

These are "non-language" headers that are being searched, so they need to be
searched using data language.


  Commit: f5e35763912e29c420a6977a211ae215ece3a8ab
      https://github.com/dovecot/core/commit/f5e35763912e29c420a6977a211ae215ece3a8ab
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-05 (Mon, 05 Feb 2018)

  Changed paths:
    M src/plugins/fts/fts-user.c

  Log Message:
  -----------
  fts: Fix searching headers with TEXT/BODY

TEXT is searching headers and BODY is searching MIME headers. Those headers
were indexed with data language, so search must also include data language
when looking up words. We'll just include the data language for all
searches now, so it should always work correctly.


  Commit: f5a00a8bc68cb246bfe9265e7f66856db98f5f7d
      https://github.com/dovecot/core/commit/f5a00a8bc68cb246bfe9265e7f66856db98f5f7d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-06 (Tue, 06 Feb 2018)

  Changed paths:
    M src/plugins/fts/fts-storage.c

  Log Message:
  -----------
  fts: Don't reindex FTS mails if .cache file is deleted

This means that if fts is enabled, "doveadm index" no longer adds mails
to dovecot.index.cache if it's deleted. However, it was rarely used for
that purpose. More likely due to a corrupted cache file all the mails were
unnecessarily being opened and reindexed.


  Commit: 45729acb14745ff241dc1059c1c29a7822b9366f
      https://github.com/dovecot/core/commit/45729acb14745ff241dc1059c1c29a7822b9366f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-06 (Tue, 06 Feb 2018)

  Changed paths:
    M src/lib/test-time-util.c

  Log Message:
  -----------
  lib: test-time-util: Put all test data for timeval_cmp() test in a single struct array.


  Commit: f0f2cc0a290310c398ca727b199e33ea9994b7bc
      https://github.com/dovecot/core/commit/f0f2cc0a290310c398ca727b199e33ea9994b7bc
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-06 (Tue, 06 Feb 2018)

  Changed paths:
    M src/lib/test-time-util.c
    M src/lib/time-util.c

  Log Message:
  -----------
  lib: time-util: Fix timeval_cmp_margin() to correctly handle a margin crossing the second boundary.

The timeval_cmp_margin() function incorrectly assumed that the margin is
irrelevent when the tv_sec values are different.


Compare: https://github.com/dovecot/core/compare/39914d983f6d...f0f2cc0a2903


More information about the dovecot-cvs mailing list