1// Copyright 2016 Google Inc. All rights reserved.2//
4// you may not use this file except in compliance with the License.5// You may obtain a copy of the License at6//
8//9// Unless required by applicable law or agreed to in writing, software10// distributed under the License is distributed on an "AS IS" BASIS,11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12// See the License for the specific language governing permissions and
62// searchOneShard recovers the panic at the shard boundary, logs the error with63// the query and stack trace, and increments Stats.Crashes. Callers therefore get64// partial results with an explicit crashed-shard signal rather than a silent
1// Copyright 2016 Google Inc. All rights reserved.2//
4// you may not use this file except in compliance with the License.5// You may obtain a copy of the License at6//
8//9// Unless required by applicable law or agreed to in writing, software10// distributed under the License is distributed on an "AS IS" BASIS,11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12// See the License for the specific language governing permissions and
3738// FileMatch contains all the matches within a file.39type FileMatch struct {
1// Copyright 2016 Google Inc. All rights reserved.2//
4// you may not use this file except in compliance with the License.5// You may obtain a copy of the License at6//
8//9// Unless required by applicable law or agreed to in writing, software10// distributed under the License is distributed on an "AS IS" BASIS,11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12// See the License for the specific language governing permissions and
410411// The Options structs controls details of the indexing process.412type Options struct {