diff options
author | Henning Baldersheim <balder@oath.com> | 2018-05-29 19:38:05 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-05-29 19:38:05 +0200 |
commit | 7777de42fe5089a2a76bcbb298ae4f1029e9bf8f (patch) | |
tree | 44518c62f918807c3720d54431f11136e8b050f8 /searchlib | |
parent | 31201a769e3e554131803a0bcb72d33b65888811 (diff) |
No handling of SameElement here.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.cpp | 6 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.h | 5 |
2 files changed, 1 insertions, 10 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.cpp b/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.cpp index 3997f7d36f3..e3dac98e588 100644 --- a/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.cpp +++ b/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.cpp @@ -42,12 +42,6 @@ CreateBlueprintVisitorHelper::visitPhrase(query::Phrase &n) { } void -CreateBlueprintVisitorHelper::visitSameElement(query::SameElement &n) { - (void) n; - //TODO Implement SameElementBlueprint creation. -} - -void CreateBlueprintVisitorHelper::handleNumberTermAsText(query::NumberTerm &n) { vespalib::string termStr = termAsString(n); diff --git a/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.h b/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.h index cc271d80793..5bcc4f4c4c5 100644 --- a/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.h +++ b/searchlib/src/vespa/searchlib/queryeval/create_blueprint_visitor_helper.h @@ -38,7 +38,6 @@ public: const FieldSpec &getField() const { return _field; } void visitPhrase(query::Phrase &n); - void visitSameElement(query::SameElement &n); template <typename WS, typename NODE> void createWeightedSet(WS *bp, NODE &n); @@ -58,13 +57,11 @@ public: void visit(query::Or &) override { illegalVisit(); } void visit(query::Rank &) override { illegalVisit(); } void visit(query::WeakAnd &) override { illegalVisit(); } + void visit(query::SameElement &) override { illegalVisit(); } void visit(query::Phrase &n) override { visitPhrase(n); } - void visit(query::SameElement &n) override { - visitSameElement(n); - } void visit(query::WeightedSetTerm &n) override { visitWeightedSetTerm(n); } void visit(query::DotProduct &n) override { visitDotProduct(n); } void visit(query::WandTerm &n) override { visitWandTerm(n); } |