diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/test/string_field_builder.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/test/string_field_builder.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/searchlib/src/vespa/searchlib/test/string_field_builder.cpp b/searchlib/src/vespa/searchlib/test/string_field_builder.cpp index 4d5637ee533..d81572d8913 100644 --- a/searchlib/src/vespa/searchlib/test/string_field_builder.cpp +++ b/searchlib/src/vespa/searchlib/test/string_field_builder.cpp @@ -1,4 +1,4 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "string_field_builder.h" #include "doc_builder.h" @@ -7,6 +7,7 @@ #include <vespa/document/annotation/spanlist.h> #include <vespa/document/annotation/spantree.h> #include <vespa/document/fieldvalue/stringfieldvalue.h> +#include <vespa/searchlib/util/linguisticsannotation.h> #include <vespa/fastlib/text/unicodeutil.h> #include <vespa/vespalib/text/utf8.h> @@ -22,15 +23,10 @@ using document::SpanNode; using document::SpanTree; using vespalib::Utf8Reader; using vespalib::Utf8Writer; +using search::linguistics::SPANTREE_NAME; namespace search::test { -namespace { - -const vespalib::string SPANTREE_NAME("linguistics"); - -} - StringFieldBuilder::StringFieldBuilder(const DocBuilder& doc_builder) : _value(), _span_start(0u), |