Gnus development mailing list
 help / color / Atom feed
* nnir: subject search finds matches, whole message search doesn't
@ 2020-06-07  8:12 Tassilo Horn
  2020-06-07  8:30 ` Herbert J. Skuhra
  0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2020-06-07  8:12 UTC (permalink / raw)
  To: ding

Hi,

I was just wondering why a subject search for a given term finds matches
whereas the whole message search does not?  Doesn't "whole message" not
include the subject?

This is with IMAP.  Where do I have to look which actual requests are
sent to the server?  Maybe it's an issue on the other end...

Thanks,
Tassilo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnir: subject search finds matches, whole message search doesn't
  2020-06-07  8:12 nnir: subject search finds matches, whole message search doesn't Tassilo Horn
@ 2020-06-07  8:30 ` Herbert J. Skuhra
  2020-06-07  9:15   ` Tassilo Horn
  2020-06-07  9:32   ` Tassilo Horn
  0 siblings, 2 replies; 4+ messages in thread
From: Herbert J. Skuhra @ 2020-06-07  8:30 UTC (permalink / raw)
  To: ding

On Sun, Jun 07, 2020 at 10:12:57AM +0200, Tassilo Horn wrote:
> Hi,
> 
> I was just wondering why a subject search for a given term finds matches
> whereas the whole message search does not?  Doesn't "whole message" not
> include the subject?
> 
> This is with IMAP.  Where do I have to look which actual requests are
> sent to the server?  Maybe it's an issue on the other end...

+-----
nnimap-record-commands is a variable defined in ‘nnimap.el’.
Its value is nil

  This variable may be risky if used as a file-local variable.

Documentation:
If non-nil, log commands to the "*imap log*" buffer.
+-----

-- 
Herbert


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnir: subject search finds matches, whole message search doesn't
  2020-06-07  8:30 ` Herbert J. Skuhra
@ 2020-06-07  9:15   ` Tassilo Horn
  2020-06-07  9:32   ` Tassilo Horn
  1 sibling, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2020-06-07  9:15 UTC (permalink / raw)
  To: Herbert J. Skuhra; +Cc: ding

"Herbert J. Skuhra" <herbert@gojira.at> writes:

Hi Herbert,

>> I was just wondering why a subject search for a given term finds
>> matches whereas the whole message search does not?  Doesn't "whole
>> message" not include the subject?
>> 
>> This is with IMAP.  Where do I have to look which actual requests are
>> sent to the server?  Maybe it's an issue on the other end...
>
> +-----
> nnimap-record-commands is a variable defined in ‘nnimap.el’.
> Its value is nil
>
>   This variable may be risky if used as a file-local variable.
>
> Documentation:
> If non-nil, log commands to the "*imap log*" buffer.
> +-----

Ah, perfect, thanks a lot!

Bye,
Tassilo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nnir: subject search finds matches, whole message search doesn't
  2020-06-07  8:30 ` Herbert J. Skuhra
  2020-06-07  9:15   ` Tassilo Horn
@ 2020-06-07  9:32   ` Tassilo Horn
  1 sibling, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2020-06-07  9:32 UTC (permalink / raw)
  To: Herbert J. Skuhra; +Cc: ding

"Herbert J. Skuhra" <herbert@gojira.at> writes:

> On Sun, Jun 07, 2020 at 10:12:57AM +0200, Tassilo Horn wrote:
>> Hi,
>> 
>> I was just wondering why a subject search for a given term finds matches
>> whereas the whole message search does not?  Doesn't "whole message" not
>> include the subject?
>> 
>> This is with IMAP.  Where do I have to look which actual requests are
>> sent to the server?  Maybe it's an issue on the other end...
>
> +-----
> nnimap-record-commands is a variable defined in ‘nnimap.el’.
> Its value is nil
>
>   This variable may be risky if used as a file-local variable.
>
> Documentation:
> If non-nil, log commands to the "*imap log*" buffer.
> +-----

Ok, so this is a successful subject search:

  UID SEARCH SUBJECT "text" SUBJECT "quotes"
  UID FETCH 173542,173554,173564,173728,174322,174333,174351,174396:174397 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Cc Keywords Gcc Newsgroups X-GM-LABELS)])

And that's the full text search which fails:

  UID SEARCH TEXT "text" TEXT "quotes"
  NO Search taking too long - try reducing the set of messages searched

And indeed, the search takes about 20 seconds before stopping.  And now
after doing the same search in the Fastmail web interface leading to
thousands of results I realized that it searched for any message which
has both text and quotes somewhere in my emacs-devel group.  Obviously,
there are many such messages.

I actually wanted to search for the exact string "text quote".  I just
learned that I get this result when I type in the query with
double-quotes and then the search finishes and finds what I was looking
for.

Bye,
Tassilo


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07  8:12 nnir: subject search finds matches, whole message search doesn't Tassilo Horn
2020-06-07  8:30 ` Herbert J. Skuhra
2020-06-07  9:15   ` Tassilo Horn
2020-06-07  9:32   ` Tassilo Horn

Gnus development mailing list

Archives are clonable: git clone --mirror http://inbox.vuxu.org/ding

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.emacs.gnus.general


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git