diff options
-rw-r--r-- | searchcommon/src/vespa/searchcommon/common/schema.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/searchcommon/src/vespa/searchcommon/common/schema.cpp b/searchcommon/src/vespa/searchcommon/common/schema.cpp index b56bec85f7f..6d3bae31508 100644 --- a/searchcommon/src/vespa/searchcommon/common/schema.cpp +++ b/searchcommon/src/vespa/searchcommon/common/schema.cpp @@ -157,6 +157,11 @@ Schema::IndexField::write(vespalib::asciistream & os, vespalib::stringref prefix Field::write(os, prefix); os << prefix << "averageelementlen " << static_cast<int32_t>(_avgElemLen) << "\n"; os << prefix << "experimentalpostinglistformat " << (_experimental_posting_list_format ? "true" : "false") << "\n"; + + // TODO: Remove prefix, phrases and positions when breaking downgrade is no longer an issue. + os << prefix << "prefix false" << "\n"; + os << prefix << "phrases false" << "\n"; + os << prefix << "positions true" << "\n"; } bool |