Strange result searching over fts_solr

Davide Marchi davide.marchi at mail.cgilfe.it
Mon Sep 5 07:27:55 UTC 2016


Hi to all, i have a strange issue if i search a series of messages
through normal index on Sent folder my result is correct but if i make
same search thrpough fts_solr result is much smaller on number of mails:


- My solr version is 5.5.2 

doveadm -Dv index -u davide.marchi at mail.cgilfe.it '*' no error 

this is my dovecot version and my doveconf 

- 2.2.23 (806d709) 

-# 2.2.23 (806d709): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.10
auth_master_user_separator = *
auth_mechanisms = plain digest-md5
debug_log_path = /var/log/dovecot/dovecot-debug.log
disable_plaintext_auth = no
first_valid_gid = 89
first_valid_uid = 89
imap_hibernate_timeout = 1 mins
imap_id_log = *
imap_idle_notify_interval = 1 mins
info_log_path = /var/log/dovecot/dovecot.log
last_valid_gid = 89
last_valid_uid = 89
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = 0.0.0.0
lmtp_rcpt_check_quota = yes
log_path = /var/log/dovecot/dovecot-err.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = %u method=%m rip=%r lip=%l mpid=%e %c %k
session=<%{session}>
mail_fsync = never
mail_gid = 89
mail_location = maildir:~/Maildir
mail_plugins = " notify zlib quota fts fts_solr stats acl"
mail_prefetch_count = 100
mail_uid = 89
mailbox_list_index = yes
maildir_very_dirty_syncs = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date index ihave duplicate mime foreverypart
extracttext
mmap_disable = yes
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
location = maildir:/home/public/:INDEX=/mnt/ramdisk/public
prefix = Public/
separator = /
subscriptions = no
type = public
}
passdb {
args = /usr/local/etc/dovecot/passwd.masterusers
driver = passwd-file
master = yes
pass = yes
}
passdb {
driver = shadow
}
passdb {
args = webmail=127.0.0.1 cache_key=%u%s
driver = vpopmail
}
plugin {
acl = vfile:/usr/local/etc/dovecot/dovecot-acl
antispam_backend = crm114
antispam_crm_args =
-u;/opt/crm114;--fileprefix=/opt/crm114/;--config=/usr/share/crm114/mailfilter.cf
antispam_crm_binary = /usr/share/crm114/mailreaver.crm
antispam_crm_notspam_arg = --good
antispam_crm_spam_arg = --spam
antispam_signature = X-CRM114-CacheID
antispam_spam_pattern_ignorecase = crm-spam*
antispam_trash_pattern_ignorecase = Trash*
antispam_unsure_pattern_ignorecase = crm-unsure*
mail_log_events = delete undelete expunge copy
mail_log_fields = uid box msgid size
mail_log_group_events =
quota = maildir:User quota
quota_rule = ?:storage=0
quota_rule2 = Trash:storage=+20%%
quota_vsizes = yes
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sieve = ~/.dovecot.sieve
sieve_before = /usr/local/lib/dovecot/sieve/default.sieve
sieve_default = /usr/local/lib/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /usr/local/lib/dovecot/sieve/
stats_command_min_time = 1 mins
stats_domain_min_time = 12 hours
stats_ip_min_time = 12 hours
stats_memory_limit = 16 M
stats_refresh = 30 secs
stats_session_min_time = 15 mins
stats_track_cmds = yes
stats_user_min_time = 1 hours
zlib_save = gz
zlib_save_level = 9
}
protocols = imap sieve lmtp
service anvil {
client_limit = 2048
}
service auth {
client_limit = 2048
unix_listener auth-master {
group = vchkpw
mode = 0600
user = vpopmail
}
unix_listener auth-userdb {
group = vchkpw
mode = 0600
user = vpopmail
}
}
service decode2text {
executable = script /usr/local/libexec/dovecot/decode2text.sh
unix_listener decode2text {
mode = 0666
user = dovecot
}
}
service imap-hibernate {
unix_listener imap-hibernate {
group = vchkpw
mode = 0600
user = vpopmail
}
user = vpopmail
}
service imap-login {
executable = /usr/local/libexec/dovecot/imap-login
inet_listener imaps {
address = 192.168.10.50
}
process_limit = 1024
process_min_avail = 2
service_count = 0
}
service imap {
executable = /usr/local/libexec/dovecot/imap
unix_listener imap-master {
group = vchkpw
mode = 0600
user = vpopmail
}
}
service lmtp {
executable = lmtp -L
inet_listener lmtp {
address = 192.168.10.50 127.0.0.1 ::1
port = 24
}
process_min_avail = 5
unix_listener lmtp {
group = vchkpw
mode = 0600
user = vpopmail
}
}
service managesieve-login {
executable = managesieve-login
inet_listener sieve {
address = 0.0.0.0
port = 4190
}
process_min_avail = 2
service_count = 0
}
service managesieve {
process_limit = 10
}
service quota-warning {
executable = script /usr/local/libexec/dovecot/quota-warning
unix_listener quota-warning {
mode = 0660
user = vpopmail
}
user = vpopmail
}
service stats {
fifo_listener stats-mail {
group = vchkpw
mode = 0600
user = vpopmail
}
}
ssl_cert = </var/qmail/control/servercert.pem
ssl_dh_parameters_length = 2048
ssl_key = </var/qmail/control/servercert.pem
ssl_protocols = !SSLv2 !SSLv3
userdb {
driver = passwd
}
userdb {
args = quota_template=quota_rule=*:backend=%q
driver = vpopmail
}
verbose_proctitle = yes
protocol sieve {
info_log_path = /var/log/dovecot/dovecot-sieve.log
log_path = /var/log/dovecot/dovecot-sieve-error.log
managesieve_implementation_string = Dovecot Pigeonhole
managesieve_logout_format = bytes=%i/%o
managesieve_max_line_length = 65536
}
protocol lmtp {
auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
deliver_log_format = msgid=<%f>-<%s>-%m: %$
hostname = mail.cgilfe.it
info_log_path = /var/log/dovecot/dovecot-lmtp.log
log_path = /var/log/dovecot/dovecot-lmtp-err.log
mail_fsync = optimized
mail_plugin_dir = /usr/local/lib/dovecot
mail_plugins = " notify zlib quota fts fts_solr stats acl mail_log
sieve"
postmaster_address = postmaster at mail.cgilfe.it
rejection_reason = Il sistema ha rifiutato automaticamente il messaggio
destinato a <%t> per il seguente motivo:%n%r
rejection_subject = Messaggio Rifiutato: %s
submission_host = 127.0.0.1
}
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
tb-lsub-flags
imap_max_line_length = 64 k
mail_plugin_dir = /usr/local/lib/dovecot
mail_plugins = " notify zlib quota fts fts_solr stats acl imap_quota
mail_log antispam imap_zlib imap_stats imap_acl"
}
protocol lda {
auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
deliver_log_format = msgid=<%f>-<%s>-%m: %$
hostname = mail.cgilfe.it
info_log_path = /var/log/dovecot/dovecot-lda.log
log_path = /var/log/dovecot/dovecot-lda-err.log
mail_fsync = optimized
mail_plugin_dir = /usr/local/lib/dovecot
mail_plugins = " notify zlib quota fts fts_solr stats acl mail_log
sieve"
postmaster_address = postmaster at mail.cgilfe.it
rejection_reason = Il sistema ha rifiutato automaticamente il messaggio
destinato a <%t> per il seguente motivo:%n%r
rejection_subject = Messaggio Rifiutato: %s
submission_host = 127.0.0.1 

-- 
DAVIDE MARCHI
Teorema Ferrara Srl
Via Spronello 7 - FERRARA - 44121
Tel. 0532783161 Fax. 0532783368 

デイヴイツド 

THIS EMAIL AND ANY FILES TRANSMITTED WITH IT ARE CONFIDENTIAL AND
INTENDED SOLELY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHOM THEY ARE
ADDRESSED. IF YOU HAVE RECEIVED THIS EMAIL IN ERROR PLEASE NOTIFY THE
SYSTEM MANAGER. THIS MESSAGE CONTAINS CONFIDENTIAL INFORMATION AND IS
INTENDED ONLY FOR THE INDIVIDUAL NAMED. IF YOU ARE NOT THE NAMED
ADDRESSEE YOU SHOULD NOT DISSEMINATE, DISTRIBUTE OR COPY THIS E-MAIL.
PLEASE NOTIFY THE SENDER IMMEDIATELY BY E-MAIL IF YOU HAVE RECEIVED THIS
E-MAIL BY MISTAKE AND DELETE THIS E-MAIL FROM YOUR SYSTEM. IF YOU ARE
NOT THE INTENDED RECIPIENT YOU ARE NOTIFIED THAT DISCLOSING, COPYING,
DISTRIBUTING OR TAKING ANY ACTION IN RELIANCE ON THE CONTENTS OF THIS
INFORMATION IS STRICTLY PROHIBITED.


More information about the dovecot mailing list