From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: nnir/freeWAIS-sf
Date: Sat, 22 Jul 2000 00:34:25 +0200 [thread overview]
Message-ID: <vafk8eff6z3.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Harry Putnam's message of "21 Jul 2000 15:04:22 -0700"
On 21 Jul 2000, Harry Putnam wrote:
> What exactly does `GLOBAL' mean and how is that index accessed?
> Can one make a `free text' query using the nnir example *.fmt? it
> appears not. Which index holds `GLOBAL' data?
If you say `foo=xyzzy', then the foo field is searched for xyzzy.
If you say `xyzzy', then the global field is searched.
Parens can be used for grouping, so that `foo=a b' searches for `a' in
the foo field and for `b' in the global field, but `foo=(a b)'
searches for a in the foo field and for b in the foo field. (The last
query is the same as `foo=a foo=b'.)
(I said `and', but the actual operator used is `or'. This means, it's
sufficient if one condition is true for a document to come out. But
the documents that fulfill both conditions come out first in the
ranking list, they get a higher score. nnir displays the score in the
subject line in square brackets.)
In the *.fmt file, the two regexes after `region:' and `end:' define a
region in each document. And if the field definition says `GLOBAL' or
`BOTH', the terms found in the document region are put in the global
field. If the field definition says `LOCAL', the terms from that
document region are NOT put in the global field.
> Do you mean a buffer containing the string matches, not full
> messages?
nnir.el only needs the file names. Not the matching lines, not the
whole message. Just the file names.
> What would really be cool would be having both available. The
> ephemeral group assembled and a buffer similar to the emacs M-x grep
> buffer with hypertext that takes one to the exact hit.
Ah, yes. It's not clear how to implement this, but it would be a cool
feature. SFgate provides what's known as `search term highlighting'.
This means if you issue a query `foo bar' then all occurrences of
`foo' and of `bar' will be red, or bold, or blinking, or whatever.
> Since all gnus needs is the file names to generate the group maybe
> glimpse could be run with out the `-l' flag and let gnus snatch them
> out by regexp, allowing the other output to be available for such a
> buffer.
That's what (setq nnir-engine 'glimpse) does. See the
nnir-run-glimpse function.
> Thanks for the tips on this but in truth its not likely I'll attempt
> it any time too soon. Fact is I'm no where near competent in any
> programming language.. let alone lisp.
>
> The only thing I can say I know even a small amount about is `awk'
> and its not a real programming language.
>From a theoretical point of view, awk is just as much a `real'
programming language as C or Lisp or whatever. But awk allows you a
slow start into programming. I'm sure that before you know it you'll
be a programmer.
kai
--
I like BOTH kinds of music.
next prev parent reply other threads:[~2000-07-21 22:34 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-15 13:53 nnir/freeWAIS-sf Harry Putnam
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 ` Kai Großjohann [this message]
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=vafk8eff6z3.fsf@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
--cc=ding@gnus.org \
/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).