#170 new

search engine

Reported by Thibaud | July 7th, 2011 @ 03:03 PM

I generally search by using two fields:
From or To, and
Unquoted Body Text.

  1. When I fill in the first field and before filling in the second, a first search is processed and returns some results. The is nice.
  2. However, after I fill in the second field, due to the duration of the search, I have the feeling that the search is processed among all the messages of the databases and not only the subset obtained in 1. Is it the case?

Second point: why only Unquoted Body Text and Quoted Body Text. If I don't remember if I have quoted the text or not, I can miss the result (or try both). Wouldn't it be better to have a menu like the following for the search filters?
Body Text
-> All -> Unquoted -> Quoted

Comments and changes to this ticket

  • benny

    benny July 13th, 2011 @ 02:20 PM

    • State changed from “new” to “closed”

    Answer to question in item 2: Yes, this is a side-effect of the
    set-oriented query-system. (This may change slightly in the future due
    to some related space/time optimizations, but this is still uncertain.)

    Note that it would be different if you had, e.g., first used “Find
    Messages ▸ From or To “xyz”” and then done a search for unquoted
    body text. Internally, the two cases would differ like this (simplified
    a bit):

    $Msgs.filter(from = 'xyz' or to = 'xyz' or #unquoted ~ 'abc')
    $Msgs.filter(from = 'xyz' or to = 'xyz').filter(#unquoted ~ 'abc')

    With regard to the second point: I find that I mostly want to find the
    message which originally used the word I am searching for and not any
    replies or forwards with the same word (in which it is quoted), but it
    is also a question of efficiency. It is simply slower to search both and
    therefore I do not encourage it. When search speed (of unquoted/quoted
    text) has been improved then I may change this to make it easier. I like
    your suggestion for a single Body Text item with options.


Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket