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

Issue 1321553003: Files.app: split query into AND conditioned keywords in metadata search. (Closed)

Created:
5 years, 3 months ago by yawano
Modified:
5 years, 3 months ago
Reviewers:
hashimoto
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files.app: split query into AND conditioned keywords in metadata search. BUG=514853 TEST=unit_tests:SearchMetadataTest.*;SearchMetadataSimpleTest.* Committed: https://crrev.com/c6c0abef8ce6a72ddddca7889ef5f14149fff230 Cr-Commit-Position: refs/heads/master@{#347862}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address comments. #

Patch Set 3 : Move import of scoped_vector. #

Total comments: 12

Patch Set 4 : Address comments. #

Patch Set 5 : Add test case for empty query. #

Total comments: 4

Patch Set 6 : Empty query matches with anything. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -50 lines) Patch
M components/drive/search_metadata.h View 1 2 3 chunks +12 lines, -8 lines 0 comments Download
M components/drive/search_metadata.cc View 1 2 3 4 5 7 chunks +70 lines, -22 lines 0 comments Download
M components/drive/search_metadata_unittest.cc View 1 2 3 4 5 12 chunks +121 lines, -20 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
yawano
PTAL. Thank you!
5 years, 3 months ago (2015-09-01 12:18:06 UTC) #2
hashimoto
qq: How much does this change affect the performance for users with a lot of ...
5 years, 3 months ago (2015-09-02 03:24:11 UTC) #3
yawano
PTAL again. Thank you! https://codereview.chromium.org/1321553003/diff/1/components/drive/search_metadata.cc File components/drive/search_metadata.cc (right): https://codereview.chromium.org/1321553003/diff/1/components/drive/search_metadata.cc#newcode202 components/drive/search_metadata.cc:202: base::SplitString(base::UTF8ToUTF16(query_text), base::string16(1, ' '), No. ...
5 years, 3 months ago (2015-09-04 09:33:55 UTC) #4
yawano
For performance, I did a try and checked the result in chrome://drive-internal. I haven't counted ...
5 years, 3 months ago (2015-09-04 10:13:07 UTC) #5
hashimoto
lgtm with nits https://codereview.chromium.org/1321553003/diff/40001/components/drive/search_metadata.cc File components/drive/search_metadata.cc (right): https://codereview.chromium.org/1321553003/diff/40001/components/drive/search_metadata.cc#newcode332 components/drive/search_metadata.cc:332: if (text.empty()) The comment says "empty ...
5 years, 3 months ago (2015-09-07 06:17:09 UTC) #6
yawano
Since I've added significant amount of change, PTAL again. Thank you! https://codereview.chromium.org/1321553003/diff/40001/components/drive/search_metadata.cc File components/drive/search_metadata.cc (right): ...
5 years, 3 months ago (2015-09-08 10:27:21 UTC) #7
hashimoto
lgtm https://codereview.chromium.org/1321553003/diff/80001/components/drive/search_metadata.cc File components/drive/search_metadata.cc (right): https://codereview.chromium.org/1321553003/diff/80001/components/drive/search_metadata.cc#newcode175 components/drive/search_metadata.cc:175: (queries.size() > 0 && nit: Since queries' emptiness ...
5 years, 3 months ago (2015-09-08 10:39:05 UTC) #8
yawano
Changed FindAndHighlight so that empty query matches with anything. PTAL. Sorry for asking review many ...
5 years, 3 months ago (2015-09-08 11:19:09 UTC) #9
hashimoto
lgtm
5 years, 3 months ago (2015-09-09 02:26:19 UTC) #10
yawano
On 2015/09/09 02:26:19, hashimoto wrote: > lgtm Thank you!
5 years, 3 months ago (2015-09-09 02:30:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321553003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321553003/100001
5 years, 3 months ago (2015-09-09 02:31:45 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-09 09:01:05 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 09:02:28 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c6c0abef8ce6a72ddddca7889ef5f14149fff230
Cr-Commit-Position: refs/heads/master@{#347862}

Powered by Google App Engine
This is Rietveld 408576698