summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-01-30 19:42:02 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-01-30 19:43:20 +0100
commit2194cb59bfdf4f18630f3173b38301429539746e (patch)
treec11f9a53bbf24390e0d2a479c33fd7edfd786674 /searchlib
parente689c3bb29f9fc135bf93e2d6e7d15671e76b1e9 (diff)
Remove version from type id interfaces.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/index/doctypebuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/index/doctypebuilder.cpp b/searchlib/src/vespa/searchlib/index/doctypebuilder.cpp
index 18fc60b70b0..c9b90a21240 100644
--- a/searchlib/src/vespa/searchlib/index/doctypebuilder.cpp
+++ b/searchlib/src/vespa/searchlib/index/doctypebuilder.cpp
@@ -63,7 +63,7 @@ insertStructType(document::DocumenttypesConfig::Documenttype & cfg,
DTC::Documenttype::Datatype::Sstruct::Field field;
field.name = (*itr)->getName();
field.datatype = (*itr)->getDataType().getId();
- field.id = (*itr)->getId(Document::getNewestSerializationVersion());
+ field.id = (*itr)->getId();
cfgStruct.field.push_back(field);
}
cfg.datatype.push_back(DTC::Documenttype::Datatype());