From 224b5fbe12ecab75beee6efe24068a9ce7092110 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 16 Aug 2019 14:48:11 +0000 Subject: doc: -> id: --- .../src/tests/proton/common/cachedselect_test.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'searchcore/src/tests/proton/common/cachedselect_test.cpp') 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"); -- cgit v1.2.3