From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31883 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir/freeWAIS-sf Date: Sat, 22 Jul 2000 00:34:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168245 16629 80.91.224.250 (21 Oct 2002 02:44:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:44:05 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id D8F24D051E for ; Fri, 21 Jul 2000 18:35:50 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAC02056; Fri, 21 Jul 2000 17:35:39 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 21 Jul 2000 17:34:45 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA17408 for ; Fri, 21 Jul 2000 17:34:27 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id C7390D051E for ; Fri, 21 Jul 2000 18:34:59 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id AAA27715; Sat, 22 Jul 2000 00:34:25 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id AAA13444; Sat, 22 Jul 2000 00:34:25 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id AAA08406; Sat, 22 Jul 2000 00:34:25 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "21 Jul 2000 15:04:22 -0700" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 64 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31883 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31883 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.