summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-05-29 19:18:00 +0200
committerHenning Baldersheim <balder@oath.com>2018-05-29 19:18:00 +0200
commit31201a769e3e554131803a0bcb72d33b65888811 (patch)
tree801f3b9ce172a14afc2d4f3a87c41d6d52876da4 /searchcore/src/tests/proton/matching
parent743211cdaf033704ec5ea876ab180b1bc9d96c50 (diff)
Correct unique ids
Diffstat (limited to 'searchcore/src/tests/proton/matching')
-rw-r--r--searchcore/src/tests/proton/matching/query_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/searchcore/src/tests/proton/matching/query_test.cpp b/searchcore/src/tests/proton/matching/query_test.cpp
index 9434e8c61b4..7875e7ec4aa 100644
--- a/searchcore/src/tests/proton/matching/query_test.cpp
+++ b/searchcore/src/tests/proton/matching/query_test.cpp
@@ -175,10 +175,10 @@ Node::UP buildQueryTree(const ViewResolver &resolver,
query_builder.addStringTerm(phrase_term, field, 8, Weight(0));
query_builder.addStringTerm(phrase_term, field, 9, Weight(0));
#if 0
- //TODO Add SameElement and proper testing of the same when complete
- query_builder.addSameElement(2, field, 10, Weight(0));
- query_builder.addStringTerm(phrase_term, field, 11, Weight(0));
- query_builder.addStringTerm(phrase_term, field, 12, Weight(0));
+ //Todo add testing when SameElement blueprints are ready
+ query_builder.addSameElement(2, field);
+ query_builder.addStringTerm(string_term, field, 10, Weight(0));
+ query_builder.addStringTerm(prefix_term, field, 11, Weight(0));
#endif
Node::UP node = query_builder.build();