Last Comment Bug 478043 - Search should default to "is exactly" option
: Search should default to "is exactly" option
Product: Socorro
Classification: Server Software
Component: General (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Austin King [:ozten]
: socorro
Depends on:
  Show dependency treegraph
Reported: 2009-02-11 11:04 PST by Henrik Skupin (:whimboo)
Modified: 2011-12-28 10:40 PST (History)
5 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

simple change to make 'exact' the default search condition for stack signature (424 bytes, patch)
2009-02-19 13:57 PST, Austin King [:ozten]
morgamic: review+
Details | Diff | Splinter Review

Description Henrik Skupin (:whimboo) 2009-02-11 11:04:11 PST
When using Socorro to search for crash reports it's mostly not useful to use the contains options which is the default one right now. You will mostly run into connection interrupted errors in that way.

Lets take the following example: "nsMenuItemIconX::OnStopRequest(imgIRequest*,+int)"

The interesting part of this frame is really the function name. Any parameters don't need any attraction for initial searches, which are mostly done when doing quick searches for the last couple of weeks.

Lars, can we get the dropdown option default to "starts with"?
Comment 1 Ted Mielczarek [:ted.mielczarek] 2009-02-11 11:06:36 PST
I don't think "starts with" is any more efficient than "contains". They both do a LIKE query.
Comment 2 Henrik Skupin (:whimboo) 2009-02-11 11:18:44 PST
You are right. Sam, I did the following search to check this:

It still times out. Changing the option to "is exactly" gives results within a second. So we probably switch over to "is exactly"?
Comment 3 Wayne Mery (:wsmwk, NI for questions) 2009-02-19 13:45:20 PST
depends on bug 467353?
Comment 4 Austin King [:ozten] 2009-02-19 13:53:17 PST
I will change this with the redesign. This should ship next week.

is exactly will be the default choice.
Comment 5 Austin King [:ozten] 2009-02-19 13:57:12 PST
Created attachment 363188 [details] [diff] [review]
simple change to make 'exact' the default search condition for stack signature
Comment 6 Austin King [:ozten] 2009-02-27 09:34:16 PST
This is live now.
Comment 7 Henrik Skupin (:whimboo) 2009-02-27 11:05:25 PST
Verified. I'll play around with it but for now it has an amazing speed. Thanks.

Note You need to log in before you can comment on or make changes to this bug.