From: Olly Betts <olly@survex.com>
Subject: Re: nnweb + Gmane search (was: nnweb fix)
Date: Wed, 8 Feb 2006 07:56:12 +0000 (UTC) [thread overview]
Message-ID: <loom.20060208T084254-673@post.gmane.org> (raw)
In-Reply-To: <87vevqcs10.fsf_-_@gate450.dyndns.org>
Andreas Seltenreich <andreas+ding@gate450.dyndns.org> 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
next prev parent reply other threads:[~2006-02-08 7:56 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-31 9:42 nnweb fix Andreas Seltenreich
2005-12-31 10:48 ` Andreas Seltenreich
2006-01-04 0:18 ` Reiner Steib
2006-01-04 12:25 ` Andreas Seltenreich
2006-01-27 8:35 ` Andreas Seltenreich
2006-01-30 15:08 ` Reiner Steib
2006-01-31 5:48 ` Andreas Seltenreich
2006-01-31 16:03 ` Reiner Steib
2006-01-31 17:06 ` Andreas Seltenreich
2006-02-03 13:20 ` Reiner Steib
2006-02-12 6:34 ` Andreas Seltenreich
2006-02-13 13:35 ` Reiner Steib
2006-02-08 5:56 ` nnweb + Gmane search (was: nnweb fix) Andreas Seltenreich
2006-02-08 7:56 ` Olly Betts [this message]
2006-02-09 4:47 ` nnweb + Gmane search Andreas Seltenreich
2006-02-09 10:41 ` Olly Betts
2006-02-09 12:28 ` Olly Betts
2006-02-11 9:23 ` Andreas Seltenreich
2006-02-13 10:23 ` Olly Betts
2006-02-14 19:55 ` Andreas Seltenreich
2006-02-23 17:53 ` Reiner Steib
2006-02-23 23:04 ` Olly Betts
2006-02-24 0:49 ` Andreas Seltenreich
2006-02-24 12:07 ` Olly Betts
2006-02-24 14:31 ` Reiner Steib
2006-02-24 15:34 ` Olly Betts
2006-02-24 21:58 ` Andreas Seltenreich
2006-02-24 23:24 ` Reiner Steib
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=loom.20060208T084254-673@post.gmane.org \
--to=olly@survex.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).