[Dovecot] solr substring schema.xml

Daniel Miller dmiller at amfes.com
Fri Jun 3 20:40:45 EEST 2011


On 6/3/2011 5:54 AM, Timo Sirainen wrote:
> On Sun, 2011-05-29 at 02:09 -0700, Daniel Miller wrote:
>
>> I'm trying a modified schema.xml with solr - it appears I now have
>> substring searches!
> How large are your indexes compared to mailbox size?
>

du -c -b /var/mail/domain = 4913315733
du -c -b /var/mail/attachments = 29672490629
du -c -b /var/mail/solr = 12809981456

at the moment, I have an hourly cronjob -
doveadm search -A text zyxabcxyz > /dev/null
java -Ddata=args -jar /raid/mail/solr/exampledocs/post.jar \
'<commit waitFlush="false" waitSearcher="false" expungeDeletes="true"/>' 
 > /dev/null
java -Ddata=args -jar /raid/mail/solr/exampledocs/post.jar \
'<optimize waitFlush="false" waitSearcher="false"/>' > /dev/null
-- 
Daniel L. Miller, VP - Engineering, SET
AM Fire & Electronic Services, Inc. [AMFES]
dmiller at amfes.com 702-312-5276


More information about the dovecot mailing list