aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-08-10 21:54:18 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2019-08-16 12:12:30 +0200
commite9db9625f385918f02a09e89bdeec17c3f8faceb (patch)
treedab8500b1a6fa6764c00c9030f83eab6bb9cc858 /container-search/src/test/java/com/yahoo/prelude
parent99bfefcf450fd8c82a5d6382564eba0f2f58a0ca (diff)
doc: -> id:
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java2
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/fastsearch/test/DocsumDefinitionTestCase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java b/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
index 84f986d5371..b537d03d823 100644
--- a/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/cluster/ClusterSearcherTestCase.java
@@ -148,7 +148,7 @@ public class ClusterSearcherTestCase {
public static final String ATTRIBUTE_PREFETCH = "attributeprefetch";
private String getId(String type, int i) {
- return "doc:" + type + ":" + i;
+ return "id:ns:" + type + "::" + i;
}
private Hit createHit(String id, double relevancy) {
diff --git a/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/DocsumDefinitionTestCase.java b/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/DocsumDefinitionTestCase.java
index 7e1afe518af..4ab69019289 100644
--- a/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/DocsumDefinitionTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/fastsearch/test/DocsumDefinitionTestCase.java
@@ -88,7 +88,7 @@ public class DocsumDefinitionTestCase {
}
public static GlobalId createGlobalId(int docId) {
- return new GlobalId((new DocumentId("doc:test:" + docId)).getGlobalId());
+ return new GlobalId((new DocumentId("id:ns:type::" + docId)).getGlobalId());
}
public static byte[] makeDocsum() {