blob: 12629ea13fdd9fcf15f7a43fc181b9c4094eee3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "bitvectorkeyscope.h"
#include <cassert>
using search::diskindex::BitVectorKeyScope;
namespace search::diskindex {
const char *getBitVectorKeyScopeSuffix(BitVectorKeyScope scope)
{
switch (scope) {
case BitVectorKeyScope::SHARED_WORDS:
return ".bidx";
default:
return ".idx";
}
}
}
|