aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/common/cachedselect_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-08-16 14:48:11 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-08-16 17:22:45 +0000
commit224b5fbe12ecab75beee6efe24068a9ce7092110 (patch)
tree3e8c0dd797c583b032b960488b2bf3436ccbd2b9 /searchcore/src/tests/proton/common/cachedselect_test.cpp
parent5fb8e66dbd2d6e02a64a054e147ac7214943d563 (diff)
doc: -> id:
Diffstat (limited to 'searchcore/src/tests/proton/common/cachedselect_test.cpp')
-rw-r--r--searchcore/src/tests/proton/common/cachedselect_test.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/searchcore/src/tests/proton/common/cachedselect_test.cpp b/searchcore/src/tests/proton/common/cachedselect_test.cpp
index dcba8fda1c6..df414439bce 100644
--- a/searchcore/src/tests/proton/common/cachedselect_test.cpp
+++ b/searchcore/src/tests/proton/common/cachedselect_test.cpp
@@ -466,10 +466,10 @@ TEST_F("Test that basic select works", TestFixture)
{
MyDB &db(*f._db);
- db.addDoc(1u, "doc:test:1", "hello", "null", 45, 37);
- db.addDoc(2u, "doc:test:2", "gotcha", "foo", 3, 25);
- db.addDoc(3u, "doc:test:3", "gotcha", "foo", noIntVal, noIntVal);
- db.addDoc(4u, "doc:test:4", "null", "foo", noIntVal, noIntVal);
+ db.addDoc(1u, "id:ns:test::1", "hello", "null", 45, 37);
+ db.addDoc(2u, "id:ns:test::2", "gotcha", "foo", 3, 25);
+ db.addDoc(3u, "id:ns:test::3", "gotcha", "foo", noIntVal, noIntVal);
+ db.addDoc(4u, "id:ns:test::4", "null", "foo", noIntVal, noIntVal);
CachedSelect::SP cs;
@@ -566,9 +566,9 @@ struct PreDocSelectFixture : public TestFixture {
PreDocSelectFixture()
: TestFixture()
{
- db().addDoc(1u, "doc:test:1", "foo", "null", 3, 5);
- db().addDoc(2u, "doc:test:1", "bar", "null", 3, 5);
- db().addDoc(3u, "doc:test:2", "foo", "null", 7, 5);
+ db().addDoc(1u, "id:ns:test::1", "foo", "null", 3, 5);
+ db().addDoc(2u, "id:ns:test::1", "bar", "null", 3, 5);
+ db().addDoc(3u, "id:ns:test::2", "foo", "null", 7, 5);
}
};
@@ -602,10 +602,10 @@ TEST_F("Test performance when using attributes", TestFixture)
{
MyDB &db(*f._db);
- db.addDoc(1u, "doc:test:1", "hello", "null", 45, 37);
- db.addDoc(2u, "doc:test:2", "gotcha", "foo", 3, 25);
- db.addDoc(3u, "doc:test:3", "gotcha", "foo", noIntVal, noIntVal);
- db.addDoc(4u, "doc:test:4", "null", "foo", noIntVal, noIntVal);
+ db.addDoc(1u, "id:ns:test::1", "hello", "null", 45, 37);
+ db.addDoc(2u, "id:ns:test::2", "gotcha", "foo", 3, 25);
+ db.addDoc(3u, "id:ns:test::3", "gotcha", "foo", noIntVal, noIntVal);
+ db.addDoc(4u, "id:ns:test::4", "null", "foo", noIntVal, noIntVal);
CachedSelect::SP cs;
cs = f.testParse("test.aa < 45", "test");