Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Issue 11421139: Omnibox: Create Field Trial for HQP to Ignore Mid-Word Matches (Closed)

Created:
8 years ago by Mark P
Modified:
8 years ago
Reviewers:
Bart N., Peter Kasting, sky
CC:
chromium-reviews, James Su, browser-components-watch_chromium.org, Bart N.
Visibility:
Public.

Description

Omnibox: Create Field Trial for HQP to Ignore Mid-Word Matches Adds code to HistoryQuick provider to make it optionally only consider terms when they match at the beginning of a word boundary in the URL or titles. The current behavior allows terms to match anywhere regardless of word boundaries. Then, creates a field trial to control this behavior. Enables the trial for 25% of users. BUG=161911 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170784

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add test; other comment changes too. #

Total comments: 7

Patch Set 3 : Bart's comments. #

Total comments: 10

Patch Set 4 : Peter's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -10 lines) Patch
M chrome/browser/autocomplete/autocomplete_field_trial.h View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_field_trial.cc View 5 chunks +41 lines, -0 lines 0 comments Download
M chrome/browser/history/scored_history_match.h View 1 2 3 5 chunks +28 lines, -6 lines 0 comments Download
M chrome/browser/history/scored_history_match.cc View 1 2 3 7 chunks +58 lines, -4 lines 0 comments Download
M chrome/browser/history/scored_history_match_unittest.cc View 1 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Mark P
Hi Peter, I've heard a couple of complaints about this style matching recently. Let's see ...
8 years ago (2012-11-29 00:46:59 UTC) #1
Bart N.
FYI A few minor comments. Also, I wonder if you have some idea about impact ...
8 years ago (2012-11-29 17:32:26 UTC) #2
Mark P
> A few minor comments. Made changes as requested. > Also, I wonder if you ...
8 years ago (2012-11-29 19:36:48 UTC) #3
Bart N.
lgtm Thanks for adding the tests. https://codereview.chromium.org/11421139/diff/5001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://codereview.chromium.org/11421139/diff/5001/chrome/browser/history/scored_history_match.cc#newcode371 chrome/browser/history/scored_history_match.cc:371: const TermMatches& matches, ...
8 years ago (2012-11-29 20:14:08 UTC) #4
Mark P
https://codereview.chromium.org/11421139/diff/5001/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://codereview.chromium.org/11421139/diff/5001/chrome/browser/history/scored_history_match.cc#newcode371 chrome/browser/history/scored_history_match.cc:371: const TermMatches& matches, On 2012/11/29 20:14:08, Bart N. wrote: ...
8 years ago (2012-11-29 22:45:00 UTC) #5
Peter Kasting
Completely dropping mid-word matches seems drastic. Wouldn't it be better to give them lower scores? ...
8 years ago (2012-12-01 01:21:44 UTC) #6
Mark P
On 2012/12/01 01:21:44, Peter Kasting wrote: > Completely dropping mid-word matches seems drastic. Wouldn't it ...
8 years ago (2012-12-01 01:54:53 UTC) #7
Mark P
Oops, forgot to publish comments to Peter. --mark https://codereview.chromium.org/11421139/diff/4003/chrome/browser/history/scored_history_match.cc File chrome/browser/history/scored_history_match.cc (right): https://codereview.chromium.org/11421139/diff/4003/chrome/browser/history/scored_history_match.cc#newcode306 chrome/browser/history/scored_history_match.cc:306: provided_matches, ...
8 years ago (2012-12-01 01:55:32 UTC) #8
Mark P
Scott, Can I get your OWNERS stamp? thanks, mark
8 years ago (2012-12-01 01:55:49 UTC) #9
Peter Kasting
On 2012/12/01 01:54:53, Mark P wrote: > I agree with you that this seems drastic ...
8 years ago (2012-12-01 02:43:00 UTC) #10
sky
LGTM
8 years ago (2012-12-03 15:36:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/11421139/2003
8 years ago (2012-12-03 17:15:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/11421139/2003
8 years ago (2012-12-03 18:56:38 UTC) #13
commit-bot: I haz the power
8 years ago (2012-12-03 19:16:02 UTC) #14
Message was sent while issue was closed.
Change committed as 170784

Powered by Google App Engine
This is Rietveld 408576698