From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61906 Path: news.gmane.org!not-for-mail From: Olly Betts Newsgroups: gmane.emacs.gnus.general Subject: Re: nnweb + Gmane search (was: nnweb fix) Date: Wed, 8 Feb 2006 07:56:12 +0000 (UTC) Message-ID: References: <877j9lob4v.fsf@gate450.dyndns.org> <87hd8pmtjf.fsf@gate450.dyndns.org> <87u0bqf4pn.fsf@gate450.dyndns.org> <87acdduewd.fsf@gate450.dyndns.org> <87vevqcs10.fsf_-_@gate450.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139417101 30775 80.91.229.2 (8 Feb 2006 16:45:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 16:45:01 +0000 (UTC) Original-X-From: ding-owner+m10435@lists.math.uh.edu Wed Feb 08 17:44:55 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6sOy-0007Vh-Dn for ding-account@gmane.org; Wed, 08 Feb 2006 17:42:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F6sOt-0000UZ-00; Wed, 08 Feb 2006 10:42:39 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6kGu-0006za-00 for ding@lists.math.uh.edu; Wed, 08 Feb 2006 02:01:52 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1F6kGr-0008IW-Ez for ding@lists.math.uh.edu; Wed, 08 Feb 2006 02:01:52 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6kGq-0006zZ-00 for ; Wed, 08 Feb 2006 09:01:48 +0100 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F6kGm-00006V-Rx for ding@gnus.org; Wed, 08 Feb 2006 09:01:45 +0100 Original-Received: from host-84-9-199-206.bulldogdsl.com ([84.9.199.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2006 09:01:44 +0100 Original-Received: from olly by host-84-9-199-206.bulldogdsl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2006 09:01:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 84.9.199.206 (Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.7.12) Gecko/20051010 Firefox/1.0.4 (Ubuntu package 1.0.7)) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61906 Archived-At: Andreas Seltenreich writes: > It seems to work quite well after adjusting URLs and regexps. The only > drop of bitterness is that there are only 10 hits per page. So > nnweb-max-hits' default value of 999 would mean ten requests for > Google searches, but 100 for Gmane ones. Please don't do that! > If an option to customise the number of results per page could be > added to the Xapian-powered search, it'd be as usable via nnweb as the > google one. It already exists, just pass a CGI parameter called HITSPERPAGE. The value is clipped to the range 10-1000. > Of course, if there was an option to output the result set as S-exps > or nov-lines it'd be even better . I don't have enough information available to produce nov-lines unless some fields aren't required (no message-id for example). Other output formats aren't hard to add, but require me to update two places if anything changes so are a bit more work to support. So I'd prefer something more generic than S-exps. > Btw, is there a way to inline group or author search in the main > search string? With google you could search for, e.g., > > "group:*nethack insubject:pudding-farming" > > ...which works nicely with nnweb's single-search-string approach. There's partial support for group: but it needs more work. You need to strip the "gmane." prefix from the groupname: group:emacs.gnus.general xapian Only trailing wildcards are supported and must be after a ".": group:emacs.gnus.* xapian Cheers, Olly