diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-07-13 10:56:34 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-07-13 10:56:34 +0200 |
commit | aa601d824e5ec95d4c499e0c11a4461f10e05b67 (patch) | |
tree | 4c6b91a1be23fb3d4b407b775d3b9accfec728f0 | |
parent | 44b88e5ff34497d0b8134f849102401f79175873 (diff) |
Use correct summary type for field sp2 (a long field).
-rw-r--r-- | searchcore/src/tests/proton/docsummary/docsummary.cpp | 2 | ||||
-rw-r--r-- | searchcore/src/tests/proton/docsummary/summary.cfg | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/docsummary/docsummary.cpp b/searchcore/src/tests/proton/docsummary/docsummary.cpp index fd545fcdf77..4ede2aeb4cf 100644 --- a/searchcore/src/tests/proton/docsummary/docsummary.cpp +++ b/searchcore/src/tests/proton/docsummary/docsummary.cpp @@ -1012,7 +1012,7 @@ TEST("requireThatPositionsAreUsed") req.hits.push_back(DocsumRequest::Hit(gid1)); DocsumReply::UP rep = dc._ddb->getDocsums(req); EXPECT_TRUE(assertSlime("{docsums:[" - "{docsum:{sp2:'1047758'" + "{docsum:{sp2:1047758" ",sp2x:{x:1002, y:1003, latlong:'N0.001003;E0.001002'}" ",ap2:[1047806,1048322]" ",ap2x:[{x:1006, y:1007, latlong:'N0.001007;E0.001006'}," diff --git a/searchcore/src/tests/proton/docsummary/summary.cfg b/searchcore/src/tests/proton/docsummary/summary.cfg index 33fd90f4c82..db18babb03b 100644 --- a/searchcore/src/tests/proton/docsummary/summary.cfg +++ b/searchcore/src/tests/proton/docsummary/summary.cfg @@ -38,7 +38,7 @@ classes[0].fields[15].type "jsonstring" classes[0].fields[16].name "sp1" classes[0].fields[16].type "string" classes[0].fields[17].name "sp2" -classes[0].fields[17].type "string" +classes[0].fields[17].type "int64" classes[0].fields[18].name "ap1" classes[0].fields[18].type "jsonstring" classes[0].fields[19].name "ap2" @@ -95,7 +95,7 @@ classes[5].id 5 classes[5].name "class5" classes[5].fields[6] classes[5].fields[0].name "sp2" -classes[5].fields[0].type "string" +classes[5].fields[0].type "int64" classes[5].fields[1].name "sp2x" classes[5].fields[1].type "xmlstring" classes[5].fields[2].name "ap2" |