From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11057 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-glimpse.el -- search a newsgroup using glimpse Date: 25 May 1997 02:13:54 +0200 Message-ID: References: Reply-To: Kai Grossjohann NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150830 28008 80.91.224.250 (20 Oct 2002 21:53:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:53:50 +0000 (UTC) Return-Path: Original-Received: from sandy.calag.com (root@sandy [206.190.83.128]) by altair.xemacs.org (8.8.5/8.8.5) with ESMTP id UAA22059 for ; Sat, 24 May 1997 20:06:23 -0700 Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by sandy.calag.com (8.8.5/8.8.5) with ESMTP id UAA07726 for ; Sat, 24 May 1997 20:06:08 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id WAA28761 for ; Sat, 24 May 1997 22:05:27 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sun, 25 May 1997 02:14:00 +0200 Original-Received: (qmail 20669 invoked by uid 504); 25 May 1997 00:13:59 -0000 Original-Received: (qmail 20666 invoked from network); 25 May 1997 00:13:58 -0000 Original-Received: from waldorf.informatik.uni-dortmund.de (129.217.4.42) by claymore.vcinet.com with SMTP; 25 May 1997 00:13:58 -0000 Original-Received: from naunet.informatik.uni-dortmund.de (naunet.informatik.uni-dortmund.de [129.217.20.111]) by waldorf.informatik.uni-dortmund.de with SMTP id CAA11030 for ; Sun, 25 May 1997 02:13:56 +0200 (MES) Original-Received: by naunet.informatik.uni-dortmund.de id CAA09537; Sun, 25 May 1997 02:13:55 +0200 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of 24 May 1997 06:09:11 +0200 X-Mailer: Gnus v5.4.52/Emacs 19.34 Original-Lines: 43 Original-Xref: altair.xemacs.org dgnus-list:1446 Xref: main.gmane.org gmane.emacs.gnus.general:11057 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11057 >>>>> Lars Magne Ingebrigtsen writes: Lars> The search languages the different backends provide would be Lars> quite varied, and I don't presently have any clear idea of how Lars> Gnus should specify the searches... Specifying a syntax for queries that - the average user can understand, - is expressive enough to cover interesting cases, and - doesn't produce unmanageably long queries is certainly not simple to think up. Hm. Infoseek uses a format that might be workable. An example: widgets +subject:foo from:john -subject:re This query would search for "widgets" anywhere in a mail, "foo" in the subject header, "john" in the from header, and "re" in the subject header. The search is on a best-match basis, but the "+" indicates that "foo" *must* be in the subject and the "-" indicates that "re" *may not* be in the subject. For the other elements of the query, a message that contains the word would tend to be ranked higher that a message that doesn't. The nnchoke-search functions I suggested before would have to accept a string in the above format and do something meaningful with it. For some search engines, a lot of the semantics would have to be left out. For instance, I don't think field searches would be feasible with glimpse, so there a query "subject:foo" would have to be equivalent to just "foo". Hm. I see that I have assumed that the search engine does ranking. (Documents that better match the query are ranked higher; to be exact, documents that have a higher probability of being relevant to the user's information need are ranked higher.) Maybe we have to leave this one out in the first version so there would be no difference when specifying "+". kai -- Life is hard and then you die.