diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-08 17:37:22 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-08 17:37:22 +0100 |
commit | b7bdb7375ed0b0f73f6c411fe3f30a203b282540 (patch) | |
tree | b2dd00f1c99bcf06ef4fbd78532f2cc418662bec /searchcorespi | |
parent | 8d2570dbaace7da446349fd0ba469f56d39b5077 (diff) |
member _attrCtx is no longer used.
Diffstat (limited to 'searchcorespi')
-rw-r--r-- | searchcorespi/src/vespa/searchcorespi/index/indexcollection.h | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexcollection.h b/searchcorespi/src/vespa/searchcorespi/index/indexcollection.h index 596d9201063..730c0376ec7 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/indexcollection.h +++ b/searchcorespi/src/vespa/searchcorespi/index/indexcollection.h @@ -4,10 +4,6 @@ #include "isearchableindexcollection.h" #include <vespa/searchlib/util/searchable_stats.h> -#include <memory> -#include <set> -#include <utility> -#include <vector> namespace searchcorespi { @@ -21,9 +17,9 @@ class IndexCollection : public ISearchableIndexCollection uint32_t id; IndexSearchable::SP source_wrapper; - SourceWithId(uint32_t id_in, - const IndexSearchable::SP &source_in) - : id(id_in), source_wrapper(source_in) {} + SourceWithId(uint32_t id_in, const IndexSearchable::SP &source_in) + : id(id_in), source_wrapper(source_in) + {} SourceWithId() : id(0), source_wrapper() {} }; @@ -34,8 +30,7 @@ class IndexCollection : public ISearchableIndexCollection public: IndexCollection(const ISourceSelectorSP & selector); - IndexCollection(const ISourceSelectorSP & selector, - const ISearchableIndexCollection &sources); + IndexCollection(const ISourceSelectorSP & selector, const ISearchableIndexCollection &sources); void append(uint32_t id, const IndexSearchable::SP &source) override; void replace(uint32_t id, const IndexSearchable::SP &source) override; @@ -51,22 +46,16 @@ public: // Implements IndexSearchable Blueprint::UP - createBlueprint(const IRequestContext & requestContext, - const FieldSpec &field, - const Node &term) override; + createBlueprint(const IRequestContext & requestContext, const FieldSpec &field, const Node &term) override; Blueprint::UP - createBlueprint(const IRequestContext & requestContext, - const FieldSpecList &fields, - const Node &term) override; + createBlueprint(const IRequestContext & requestContext, const FieldSpecList &fields, const Node &term) override; search::SearchableStats getSearchableStats() const override; search::SerialNum getSerialNum() const override; void accept(IndexSearchableVisitor &visitor) const override; - static ISearchableIndexCollection::UP replaceAndRenumber( - const ISourceSelectorSP & selector, - const ISearchableIndexCollection &fsc, - uint32_t id_diff, - const IndexSearchable::SP &new_source); + static ISearchableIndexCollection::UP + replaceAndRenumber(const ISourceSelectorSP & selector, const ISearchableIndexCollection &fsc, + uint32_t id_diff, const IndexSearchable::SP &new_source); }; } // namespace searchcorespi |