1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 option optimize_for = LITE_RUNTIME;
8 package image.collections;
10 // Contains the result of a full text search.
11 message CorpusSearchResult {
12 // Encodes the status of the response.
20 optional Status status = 1;
22 // For each results returns the clip id, the title and a snippet highlighting
23 // the context of the match on the search term.
25 optional string clip_id = 1;
26 optional string title = 2;
27 optional string snippet = 3;
29 repeated ClipResult results = 2;