diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/attribute/attribute_blueprint_factory.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/attribute_blueprint_factory.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/attribute_blueprint_factory.cpp b/searchlib/src/vespa/searchlib/attribute/attribute_blueprint_factory.cpp index 213bbfc3493..906400f50a5 100644 --- a/searchlib/src/vespa/searchlib/attribute/attribute_blueprint_factory.cpp +++ b/searchlib/src/vespa/searchlib/attribute/attribute_blueprint_factory.cpp @@ -235,6 +235,8 @@ public: set_allow_termwise_eval(true); } + ~LocationPreFilterBlueprint(); + bool should_use() const { return _should_use; } SearchIterator::UP @@ -258,6 +260,8 @@ public: } }; +LocationPreFilterBlueprint::~LocationPreFilterBlueprint() = default; + //----------------------------------------------------------------------------- class LocationPostFilterBlueprint : public ComplexLeafBlueprint @@ -282,6 +286,8 @@ public: setEstimate(estimate); } + ~LocationPostFilterBlueprint(); + const common::Location &location() const { return _location; } SearchIterator::UP @@ -334,6 +340,8 @@ make_location_blueprint(const FieldSpec &field, const IAttributeVector &attribut return root; } +LocationPostFilterBlueprint::~LocationPostFilterBlueprint() = default; + class LookupKey : public IDocumentWeightAttribute::LookupKey { public: LookupKey(MultiTerm & terms, uint32_t index) : _terms(terms), _index(index) {} @@ -381,6 +389,7 @@ public: _weights.reserve(size_hint); _terms.reserve(size_hint); } + ~DirectWeightedSetBlueprint() override; void addTerm(const IDocumentWeightAttribute::LookupKey & key, int32_t weight) { IDocumentWeightAttribute::LookupResult result = _attr.lookup(key, _dictionary_snapshot); @@ -423,6 +432,9 @@ public: }; template <typename SearchType> +DirectWeightedSetBlueprint<SearchType>::~DirectWeightedSetBlueprint() = default; + +template <typename SearchType> std::unique_ptr<SearchIterator> DirectWeightedSetBlueprint<SearchType>::createFilterSearch(bool, FilterConstraint) const { @@ -467,6 +479,8 @@ public: _terms.reserve(size_hint); } + ~DirectWandBlueprint(); + void addTerm(const IDocumentWeightAttribute::LookupKey & key, int32_t weight) { IDocumentWeightAttribute::LookupResult result = _attr.lookup(key, _dictionary_snapshot); HitEstimate childEst(result.posting_size, (result.posting_size == 0)); @@ -497,6 +511,8 @@ public: bool always_needs_unpack() const override { return true; } }; +DirectWandBlueprint::~DirectWandBlueprint() = default; + std::unique_ptr<SearchIterator> DirectWandBlueprint::createFilterSearch(bool, FilterConstraint constraint) const { |