summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-09-18 16:59:10 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-09-18 16:59:10 +0200
commit3c3079c982e8b428a00541d338a8cc1d61cb46cb (patch)
tree4e8f75a8e7982bc3542d473e1593c1da5ef7e1ee
parent41c33fe66dc7133403670fa95a6c8088eb5b6f8f (diff)
Provide attribute name in attribute config.
-rw-r--r--searchcore/src/apps/vespa-spi-feed-bm/vespa_spi_feed_bm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/apps/vespa-spi-feed-bm/vespa_spi_feed_bm.cpp b/searchcore/src/apps/vespa-spi-feed-bm/vespa_spi_feed_bm.cpp
index b1ced9da793..09a028d0431 100644
--- a/searchcore/src/apps/vespa-spi-feed-bm/vespa_spi_feed_bm.cpp
+++ b/searchcore/src/apps/vespa-spi-feed-bm/vespa_spi_feed_bm.cpp
@@ -97,6 +97,7 @@ std::shared_ptr<DocumenttypesConfig> make_document_type() {
std::shared_ptr<AttributesConfig> make_attributes_config() {
AttributesConfigBuilder builder;
AttributesConfig::Attribute attribute;
+ attribute.name = "int";
attribute.datatype = AttributesConfig::Attribute::Datatype::INT32;
builder.attribute.emplace_back(attribute);
return std::make_shared<AttributesConfig>(builder);