People often write us saying they want to click or sweep on the chart to select a date range. We're happy to announce that's now possible.
To demonstrate, if you search for JavaOne you see a repeating yearly spike which correlates to the dates of the annual Java developer conference. Lets say you want to investigate what people said in just the last few years about the show. You can click and swipe your mouse over the time period of interest:
This adds a date: constraint to the query and automatically updates the search results. You can remove the date constraint by clicking on the "Remove date refinements" link in the top right of the graph.
You can sweep to select or click on individual months, and if you hold down control (command on a Mac) it toggles the selection, enabling you to create non-contiguous selections.
Saturday, February 9, 2008
New Feature: Sweep the Chart to Select a Date Range
Posted by
Ryan Grimm
at
11:14 AM
0
comments
Labels: analytics, features, search results
Tuesday, January 29, 2008
Give us a Date, and We'll Search It
In MarkMail we like to have both a search box way to do something (easy for experts) and a graphical way to do something (easy for novices). Recently we added support for date-based query constraints. At the moment it's only available in the search box, but we thought it worth talking about anyway. A graphical version will be coming soon (we know, we can't wait to click and swipe the months on the chart either).
With the new feature you specify a date or date range by adding a date: term to a query. For example, lets say you'd like to investigate the cause of the sudden spike in messages from the PHP lists for the query "register globals". You see this histogram:
So let's satisfy that curiosity. In April of 2002 things really start to heat up and it remains a pretty hot topic until roughly November 2003. To restrict our query to these dates all we have to do is add "date:2002/04-2003/11" to our register globals query, yielding "register globals date:2002/04-2003/11". Two dates separated by a hyphen indicate a range. This gives you only the matching messages from April 2002 through November 2003. The chart even highlights the selection range:
Looking at the statistics for this query, most of the messages were posted to the discuss list so it's likely that users are having problems. We might assume that something changed with the language so let's add "release" to the query. Sure enough, looks like they changed the default behavior of register globals in the 4.2.0 release which was released on April 22nd, 2002.
We support more than just date ranges. Here's a just a few of the formats that we support:
| date:today | Messages posted today |
| date:"last week" | Messages posted in the last 7 days |
| date:"last month" | Messages posted in the last 30 days |
| date:lastmonth | Spaces are optional, for convenience |
| date:2008/01/26 | Selection by day |
| date:20080126 | Slashes are optional, if you prefer |
| date:2008/01 | Selection by month |
| date:2007 | Selection by year |
| date:2005/06- | Everything from June 2005 onward, because of the trailing hyphen |
| date:-2005/06 | Everything up to the end of June 2005, because of the leading hyphen |
| date:2007-2008 | This year and last |
| date:"July 4th, 2007" | Human readable formats are supported too |
| date:"Julio 4th, 2007" | For all of you Spanish speakers |
| date:t90d | Messages from the last 90 days, don't forget the t |
| -date:2008 | Negation is also allowed, put the hyphen in front of the date: |
Don't worry if you can't remember all this. The question mark graphic next to the search box will pop up a reminder. So now while we continue to work on allowing you to interact with the graphs, give this a spin and let us know what you think.
P.S. Jason really likes this because it lets him examine all the changes between JDOM 1.0 and JDOM 1.1.
Posted by
Ryan Grimm
at
6:33 PM
0
comments
Labels: analytics, features, search results
Thursday, December 13, 2007
May I Take Your Order (By)
Almost immediately after launching MarkMail we started to get feedback. After we calmed ourselves down from the excitement of having users that care, a few things started to stand out. One of those items was the desire to order the search results by something other than relevance.
Adding basic support for this feature was done with 5 minutes of work and a few lines of code. This basic support allowed you to change the ordering by adding an order: in your query (eg: order:date-forward, order:date-backward). Being geeks that can't live without a command line, this level of support was fine for us, but we figured the population at large would appreciate the ability to change the ordering in the UI.
So after a bit of discussion we've done exactly that. There is now a drop down right above the search results that you can use to adjust how the results are ordered.
Keep that feedback coming and let us know what's important to you.
Posted by
Ryan Grimm
at
10:49 PM
0
comments
Labels: features, search results