login
Header Space

 
 

Mail Archive Advanced Search Features

November 18, 2007 - 8:51pm
Submitted by Jeremy on November 18, 2007 - 8:51pm.
KernelTrap

We've added new features to our mail archive search engine. Our new features allow you to search for messages from specific names and with specific words in the subject. You can also limit your search to specific specific years and/or months and/or days. Finally, we cleaned up a handful of bugs in our advanced search interface that were resulting in faulty results.


KernelTrap mail archive searching is provided with the Sphinx search engine. Going to our advanced search page you will find several text fields on the left side of the screen used for building complex search queries. Two recently added fields allow you to limit your message search to who sent the message and to specific words in the subject. For example, here's a search for all messages in our archives from "Richard Stallman". Here's another search for all messages in our openbsd-accounce mail archive containing the word "release".

A new column on the right side of the advanced search screen allows you to limit your search to specific years and/or specific months. For example, here's a search to find all messages from Linus Torvalds in our archives from January through March of 1992. And here's a search for all messages from Ingo Molnar on the Linux Kernel mailing list containing the word "CFS" in the header and "performance" in the body from September of 2007.

Observant searchers will note that the advanced search page simply builds a query for you then redirects you to your bookmarkable search results. You can fine tune your search by editing the query in the search block at the right side of the screen. To limit your search to a specific year, we set a "@year" flag followed by the year. For example, to search for messages from 2007 we'd set "@year 2007". The same works for months, for example to search for messages from January of 2007 we'd set "@year 2007 @month 1". You can manually limit your searches to a specific day in the same way. For example, to search for messages from January 1st, 2007, we'd set "@year 2007 @month 1 @day 1".

A few more examples combining multiple advanced search features:

  • Example 1: Stable 2.6.23.y kernel announcements from Greg Kroah-Hartman in October and November of 2007.
  • Example 2: DragonFlyBSD release announcements by Matthew Dillon in January of any year.
  • Example 3: OpenSSH release announcements containing the phrase "security changes".
  • Example 4: Git releases by Junio Hamano in 2005.
  • Example 5: Messages in our historical Linux Activists mailing list from Alan Cox on August 4th, 1992.

Small issue

November 18, 2007 - 9:35pm
James Healy (not verified)

Seems to work quite well, although I ran into a small problem when testing it.

I tried to use an email address (instead of a name) in the from field, and it went explodey - presumably because the @ in the address was confusing sphinx.

Searches with "@" sign

November 18, 2007 - 10:35pm

I've done some reading about sphinx, and have learned that I need to do a little more work to make searches work with the "@" sign. I'll try and fix this soon, though I'm out of time this weekend... Thanks for the feedback.

hrmf, seems that the date

November 19, 2007 - 5:29am
turn_self_off (not verified)

hrmf, seems that the date search picks up on just about any number within the mails.

also, would it be possible to have different sort options on the results?

i tried to use it to look for the lates traffic about kexec based hibernation in the linux kernel, but i got the months all over the place. and with the date limiter not working, the results where to many, and virtually useless...

use the advanced search screen

November 19, 2007 - 9:00am

If you simply type "11" or "November" into your search query as you did (I see from reviewing the search logs), then yes, you will be searching for the word "11" or the word "November" appearing anywhere in a given message. Instead, either read the details I've provided above on how to manually limit your search to specific dates, or go to the advanced search screen and select your desired dates from the menus and allow it to build an advanced search for you.

Examples:

  • Query 1: All messages on our Linux mailing lists in November 2007 mentioning "kexec" and/or "hibernation".
  • Query 2: Same query, but including October and November 2007.

ah, i see now that i was

November 19, 2007 - 7:55pm
turn_self_off (not verified)

ah, i see now that i was tripped up by the highlighted numbers in the excerpts from the mails.

as in, it seems to highlight the numbers corresponding to dates and years. but i see now that it also filtered the mails so my bad...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary