diff options
Diffstat (limited to 'application/src/test')
3 files changed, 1 insertions, 6 deletions
diff --git a/application/src/test/java/com/yahoo/application/container/JDiscContainerSearchTest.java b/application/src/test/java/com/yahoo/application/container/JDiscContainerSearchTest.java index 729439e7e5a..b7445d13a17 100644 --- a/application/src/test/java/com/yahoo/application/container/JDiscContainerSearchTest.java +++ b/application/src/test/java/com/yahoo/application/container/JDiscContainerSearchTest.java @@ -23,7 +23,7 @@ public class JDiscContainerSearchTest { try (JDisc container = containerWithSearch(searcherId)) { byte[] rendered = container.search().processAndRender(ComponentSpecification.fromString("mychain"), - ComponentSpecification.fromString("DefaultRenderer"), new Query("")); + ComponentSpecification.fromString("XmlRenderer"), new Query("")); String renderedAsString = new String(rendered, "utf-8"); assertThat(renderedAsString, containsString(searcherId)); } diff --git a/application/src/test/java/com/yahoo/application/container/JDiscTest.java b/application/src/test/java/com/yahoo/application/container/JDiscTest.java index 7963c2dd165..86a96d04848 100644 --- a/application/src/test/java/com/yahoo/application/container/JDiscTest.java +++ b/application/src/test/java/com/yahoo/application/container/JDiscTest.java @@ -152,7 +152,6 @@ public class JDiscTest { " field title type string {\n" + // " indexing: summary | index # How this field should be indexed\n" + // " weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature\n" + // - " header\n" + // " }\n" + // "}\n"; diff --git a/application/src/test/resources/test.sd b/application/src/test/resources/test.sd index 85600ef9546..81d10391294 100644 --- a/application/src/test/resources/test.sd +++ b/application/src/test/resources/test.sd @@ -4,19 +4,15 @@ search test { document test { field title type string { - # index-to: title, default weight: 30 stemming: none bolding: on - body } field body type string { - # index-to: body, default weight: 6 stemming: none summary: dynamic - body } } |