diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-03-22 16:37:04 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-03-22 16:37:04 +0100 |
commit | 2fa1b4cfb81b4a800bcea3b79d8def76214ffecb (patch) | |
tree | b87268cd8e696289142eb08c08af57eb304f0057 /searchlib/src/vespa | |
parent | 05619ecdcc101b7233cd3e87357c72fb0bc444e0 (diff) |
Add more explicit instantiations of MultiValueEnumAttribute and MultiValueAttribute
Diffstat (limited to 'searchlib/src/vespa')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/multienumattribute.cpp | 7 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/multivalueattribute.cpp | 19 |
2 files changed, 26 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/multienumattribute.cpp b/searchlib/src/vespa/searchlib/attribute/multienumattribute.cpp index 3923a8f527f..96a5f3ef506 100644 --- a/searchlib/src/vespa/searchlib/attribute/multienumattribute.cpp +++ b/searchlib/src/vespa/searchlib/attribute/multienumattribute.cpp @@ -19,6 +19,13 @@ template class MultiValueEnumAttribute<EnumAttribute<IntegerAttributeTemplate<in template class MultiValueEnumAttribute<EnumAttribute<IntegerAttributeTemplate<int64_t>>, vespalib::datastore::AtomicEntryRef>; template class MultiValueEnumAttribute<EnumAttribute<FloatingPointAttributeTemplate<float>>, vespalib::datastore::AtomicEntryRef>; template class MultiValueEnumAttribute<EnumAttribute<FloatingPointAttributeTemplate<double>>, vespalib::datastore::AtomicEntryRef>; +template class MultiValueEnumAttribute<EnumAttribute<StringAttribute>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueEnumAttribute<EnumAttribute<IntegerAttributeTemplate<int8_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueEnumAttribute<EnumAttribute<IntegerAttributeTemplate<int16_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueEnumAttribute<EnumAttribute<IntegerAttributeTemplate<int32_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueEnumAttribute<EnumAttribute<IntegerAttributeTemplate<int64_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueEnumAttribute<EnumAttribute<FloatingPointAttributeTemplate<float>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueEnumAttribute<EnumAttribute<FloatingPointAttributeTemplate<double>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; } diff --git a/searchlib/src/vespa/searchlib/attribute/multivalueattribute.cpp b/searchlib/src/vespa/searchlib/attribute/multivalueattribute.cpp index 03dd0068648..3e4089bf4d1 100644 --- a/searchlib/src/vespa/searchlib/attribute/multivalueattribute.cpp +++ b/searchlib/src/vespa/searchlib/attribute/multivalueattribute.cpp @@ -8,6 +8,18 @@ namespace search { +template class MultiValueAttribute<IntegerAttributeTemplate<int8_t>, int8_t>; +template class MultiValueAttribute<IntegerAttributeTemplate<int16_t>, int16_t>; +template class MultiValueAttribute<IntegerAttributeTemplate<int32_t>, int32_t>; +template class MultiValueAttribute<IntegerAttributeTemplate<int64_t>, int64_t>; +template class MultiValueAttribute<FloatingPointAttributeTemplate<float>, float>; +template class MultiValueAttribute<FloatingPointAttributeTemplate<double>, double>; +template class MultiValueAttribute<IntegerAttributeTemplate<int8_t>, multivalue::WeightedValue<int8_t>>; +template class MultiValueAttribute<IntegerAttributeTemplate<int16_t>, multivalue::WeightedValue<int16_t>>; +template class MultiValueAttribute<IntegerAttributeTemplate<int32_t>, multivalue::WeightedValue<int32_t>>; +template class MultiValueAttribute<IntegerAttributeTemplate<int64_t>, multivalue::WeightedValue<int64_t>>; +template class MultiValueAttribute<FloatingPointAttributeTemplate<float>, multivalue::WeightedValue<float>>; +template class MultiValueAttribute<FloatingPointAttributeTemplate<double>, multivalue::WeightedValue<double>>; template class MultiValueAttribute<EnumAttribute<StringAttribute>, vespalib::datastore::AtomicEntryRef>; template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int8_t>>, vespalib::datastore::AtomicEntryRef>; template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int16_t>>, vespalib::datastore::AtomicEntryRef>; @@ -15,6 +27,13 @@ template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int32_ template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int64_t>>, vespalib::datastore::AtomicEntryRef>; template class MultiValueAttribute<EnumAttribute<FloatingPointAttributeTemplate<float>>, vespalib::datastore::AtomicEntryRef>; template class MultiValueAttribute<EnumAttribute<FloatingPointAttributeTemplate<double>>, vespalib::datastore::AtomicEntryRef>; +template class MultiValueAttribute<EnumAttribute<StringAttribute>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int8_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int16_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int32_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueAttribute<EnumAttribute<IntegerAttributeTemplate<int64_t>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueAttribute<EnumAttribute<FloatingPointAttributeTemplate<float>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; +template class MultiValueAttribute<EnumAttribute<FloatingPointAttributeTemplate<double>>, multivalue::WeightedValue<vespalib::datastore::AtomicEntryRef>>; } // namespace search |