blob: d0515e7d33154d4b7a5e2dd51d88676ab20ec795 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace search {
// since everything is real-time, the docstamp does no longer change
// as before. The value 0 still means invalid , and the
// value 42 was selected randomly to reflect a valid value. Defined
// here for a single source of truth.
struct DocStamp {
static uint32_t good() { return 42; }
static uint32_t bad() { return 0; }
};
} // namespace search
|