aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-05-23 14:50:58 +0200
committerJon Bratseth <bratseth@verizonmedia.com>2019-05-23 14:50:58 +0200
commit330a92e516e992f870ce83b66c6fe7f9335c5b0c (patch)
tree70c53f1b6e477fc982c3ffc1600e78dba5ec591f /container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
parent6cbdbd32fd52f9f112ee4047fa10fee4dd66e900 (diff)
Support URI matching in YQL
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java b/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
index e3a5ce76ffb..82a5a0c7a24 100644
--- a/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java
@@ -140,7 +140,7 @@ public class IndexFactsTestCase {
index.setExact(true,"^^^");
sd.addIndex(index);
- IndexFacts indexFacts = new IndexFacts(new IndexModel(Collections.emptyMap(), Collections.singleton(sd)));
+ IndexFacts indexFacts = new IndexFacts(new IndexModel(sd));
Query query = new Query();
query.getModel().getSources().add("artist");
assertTrue(indexFacts.newSession(query).getIndex(indexName).isExact());
@@ -187,7 +187,7 @@ public class IndexFactsTestCase {
sd.addIndex(u_index);
sd.addIndex(b_index);
- IndexFacts indexFacts = new IndexFacts(new IndexModel(Collections.emptyMap(), Collections.singleton(sd)));
+ IndexFacts indexFacts = new IndexFacts(new IndexModel(sd));
Query query = new Query();
query.getModel().getSources().add("foobar");
IndexFacts.Session session = indexFacts.newSession(query);