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?


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

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 | Search | Web FAQs | Documents | RFC Index ]

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

Last Update May 13 2007 @ 00:24 AM