From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: nnvirtual
Date: Sun, 07 May 2017 10:39:39 +0800 [thread overview]
Message-ID: <8737chjspg.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87fugikf8m.fsf@hanan>
Andrew Cohen <cohen@bu.edu> writes:
>>>>>> "Eric" == Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
> >>>>>>> "Eric" == Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> >>
>
> [...]
>
> Eric> But if, for example, it were possible to start a search from
> Eric> within a summary buffer, saying "run this search within this
> Eric> group", then presets might not be necessary: users could
> Eric> create permanent select groups incorporating several other
> Eric> groups, then run ad-hoc searches within them.
>
> Umm, this has always been possible with nnir. Does it not work for you?
Whoops, that function did not survive the nnir->gnus-search
transformation. I'll put it back in. I think that means I can just drop
search presets.
> And wrt RSV scoring.
>
> Eric> I'd still like to keep it, and the infrastructure to support
> Eric> it. It might become more useful later. Namazu hints that it
> Eric> supports scoring (I really need to get a working
> Eric> installation), imap returns relevancy with FUZZY, and future
> Eric> engines for solr or xapian-based stuff would provide scoring.
>
> I used namazu with its scoring for many years. Aside from trying out the
> scoring and seeing that it all worked I never used it in practice. I
> find these scores (from search engines in general) very much not
> useful. But I decided early on after my back and forth that there is
> little cost in keeping it, and making the proper predicate is easy and
> on my todo list.
I see it's already in. BTW, that patch seems to have introduced a
circular dependency between gnus-sum->nnselect->gnus-art->gnus-sum. I
can't get it to compile.
On a related note, I'm having a hard time finding a place to put the
`gnus-group-make-search-group' functions: the call to
nnselect-categorize also tends to create circular dependencies.
Something to think about as this whole thing gets closer to completion.
> Eric> Responding to both messages here: if there were a new
> Eric> predicate for sorting on score, I think we'd be fine. Part of
> Eric> me still would like to let users specify sorting strategies on
> Eric> the fly, as part of the search query. Sorting could also be
> Eric> passed to the backends, and combined with limit:n could result
> Eric> in faster queries. At this point that's probably more work
> Eric> than it's worth, though.
>
> I definitely think that gnus-search should stay away from any kind of
> sorting. Modulo bugs the gnus strategy of sorting as an overlay on
> summary buffers works great.
That's fine, I'm happy to drop the sorting stuff.
> I don't think its a real optimization. All the time now is taken in
> setting up the connection; the search itself would take the same time,
> the only difference being you might not be returning the list of
> UIDs. But parsing the UIDs takes essentially no time. Unless you had
> something else in mind?
No, it was just the thought that the engines might have an easier time
returning a simple count than the results themselves (other engines
return more than just UIDs). But I think I was just getting caught up in
trying to expose and make use of everything the engines offer -- not
really necessary.
next prev parent reply other threads:[~2017-05-07 2:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-03 12:31 nnvirtual Andrew Cohen
2017-05-03 18:00 ` nnvirtual Eric Abrahamsen
2017-05-04 1:06 ` nnvirtual Andrew Cohen
2017-05-05 4:30 ` nnvirtual Eric Abrahamsen
2017-05-05 12:09 ` nnvirtual Andrew Cohen
2017-05-05 12:51 ` nnvirtual Andrew Cohen
2017-05-05 15:46 ` nnvirtual Eric Abrahamsen
2017-05-06 0:20 ` nnvirtual Andrew Cohen
2017-05-07 2:39 ` Eric Abrahamsen [this message]
2017-05-12 15:38 ` nnvirtual Steinar Bang
2017-05-12 17:42 ` nnvirtual Adam Sjøgren
2017-05-13 0:17 ` nnvirtual Harry Putnam
2018-04-11 19:42 ` nnvirtual Lars Ingebrigtsen
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=8737chjspg.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).