[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: freeWAIS-sf Frequently Asked Questions [FAQ] with answers
Previous Document: 5) How can I ...
Next Document: 5.2) How can I index HTML entities?


5.1) How can I index index mails?



    cd to your wais source directory (e.g. ~/wais-sources) 

    Create a mail.fmt file like the following: 

 record-sep: /^From / # alternatively use your mail-separartor
 layout:
 headline: /^From: / /\J/ 20 /^From: ./
 headline: /^Subject: / /\J/ 80 /^Subject: ./

 region: /^From: /
 from SOUNDEX LOCAL TEXT BOTH
 end: /$/

 region: /^Subject: /
 subject stemming TEXT BOTH
 end: /$/

    Run 'waisindex -d mail -t fields <files>' 



Top Document: freeWAIS-sf Frequently Asked Questions [FAQ] with answers
Previous Document: 5) How can I ...
Next Document: 5.2) How can I index HTML entities?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
pfeifer@ls6.informatik.uni-dortmund.de (Ulrich Pfeifer)

Last Update October 22 2009 @ 05:35 AM

Some parts © 2009 Advameg, Inc.