From: Harry Putnam <reader@newsguy.com>
Subject: nnir/freeWAIS-sf
Date: 15 Jul 2000 06:53:03 -0700 [thread overview]
Message-ID: <m2itu7fqkg.fsf@reader.ptw.com> (raw)
FreeWAIS seems to be a difficult beast to deal with... I finally got
version 2.2.13 installed successfully on a FreeBSD OS.
Still having poor luck getting freeWAIS to co-operate with nnir.
In brief, the problem areas I encounter are:
1) The C-u G G (allow group selection) option does not work with freeWAIS
2) Queries aimed at `from' or `to' fields fail, although queries to
`subject' field or global queries, work
First a few facts about the basis of this report:
1) I've created a ~/Mail directory containing only two sub
directories. My collections of messages to ding list and bbdb list
So ~/Mail/ ding bbdb
2) Using the example *.fmt file from nnir-1.57.el and giving it the title mail.fmt:
# Kai's format file for freeWAIS-sf for indexing mails.
# Each mail is in a file, much like the MH format.
# Document separator should never match -- each file is a document.
record-sep: /^@this regex should never match@$/
# Searchable fields specification.
region: /^[sS]ubject:/ /^[sS]ubject: */
subject "Subject header" stemming TEXT BOTH
end: /^[^ \t]/
region: /^([tT][oO]|[cC][cC]):/ /^([tT][oO]|[cC][cC]): */
to "To and Cc headers" SOUNDEX BOTH
end: /^[^ \t]/
region: /^[fF][rR][oO][mM]:/ /^[fF][rR][oO][mM]: */
from "From header" SOUNDEX BOTH
end: /^[^ \t]/
region: /^$/
stemming TEXT GLOBAL
end: /^@this regex should never match@$/
3) Wais command line used to create the index:
waisindex -r -d mail -stem -t fields ~/Mail
(also tried without -stem getting the same results:
waisindex -r -d mail -t fields ~/Mail )
4) These settings in .gnus:
(load "nnir-1.57.elc")
(setq nnir-wais-database "/home/reader/.wais/mail")
(setq nnir-search-engine `wais)
In gnus Group buffer pressing `C-u G G':
Query: nnir <RET>
(No prompt to select group spec appears during any of what follows)
Gives almost instantaneous results of two messages from ding list
Query: from=Kai <RET>
Gives:
Couldn't request group: Search produced empty results
(but we all know better..:
grep -r ^From:.*Kai' Mail/ding2|wc -l
150)
I read somewhere that freeWAIS has trouble with words containing both
upper and lower case so:
Query: from=rossjohann <RET>
Gives:
Couldn't request group: Search produced empty results
(But again we know better:
grep -v 'From:.*rossjohann' ~/Mail|wc -l
150)
Further:
Query: to=ding or to=bbdb both give the no results message
There are *NO* stop words in the index
Subject queries work:
Query: subject=nnir
Gives intant results from ding group
Query: subject=postal
Gives instant results from bbdb group
Query: subject=give
Gives intant results from both groups
next reply other threads:[~2000-07-15 13:53 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-15 13:53 Harry Putnam [this message]
2000-07-15 18:04 ` nnir/freeWAIS-sf Norman Walsh
2000-07-15 18:10 ` nnir/freeWAIS-sf Francisco Solsona
2000-07-15 21:22 ` nnir/freeWAIS-sf Harry Putnam
2000-07-17 13:51 ` nnir/freeWAIS-sf Francisco Solsona
2000-07-18 1:03 ` nnir/freeWAIS-sf Harry Putnam
2000-07-18 9:06 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-19 0:57 ` nnir/freeWAIS-sf Harry Putnam
2000-07-20 14:34 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-20 18:13 ` nnir/freeWAIS-sf Harry Putnam
2000-07-21 17:31 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-21 22:35 ` nnir/freeWAIS-sf Harry Putnam
2000-07-16 12:25 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-16 16:17 ` nnir/freeWAIS-sf Harry Putnam
2000-07-16 21:43 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-16 22:22 ` nnir/freeWAIS-sf Harry Putnam
2000-07-20 14:44 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-16 23:08 ` nnir/freeWAIS-sf Harry Putnam
2000-07-20 14:48 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-20 16:33 ` nnir/freeWAIS-sf Harry Putnam
2000-07-21 17:27 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-21 22:04 ` nnir/freeWAIS-sf Harry Putnam
2000-07-21 22:34 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-21 23:12 ` nnir/freeWAIS-sf Harry Putnam
2000-07-22 11:59 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-22 13:40 ` nnir/freeWAIS-sf Harry Putnam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2itu7fqkg.fsf@reader.ptw.com \
--to=reader@newsguy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).