diff --git a/src/main/java/org/searsia/SearsiaOptions.java b/src/main/java/org/searsia/SearsiaOptions.java index cf07cc7..8a2bd91 100644 --- a/src/main/java/org/searsia/SearsiaOptions.java +++ b/src/main/java/org/searsia/SearsiaOptions.java @@ -75,7 +75,7 @@ private void setDefaults() { pollInterval = 120; logLevel = 2; myURI = "http://localhost:16842/searsia/"; - motherTemplate = "http://search.utwente.nl/searsia/search?q={q?}&r={r?}"; + motherTemplate = "https://search.utwente.nl/searsia/search?q={q?}&r={r?}"; indexPath = friendlyIndexPath(); myName = null; } diff --git a/src/main/java/org/searsia/web/Update.java b/src/main/java/org/searsia/web/Update.java index f385ca1..bae0f28 100644 --- a/src/main/java/org/searsia/web/Update.java +++ b/src/main/java/org/searsia/web/Update.java @@ -76,7 +76,7 @@ public Response options() { /** * Updates the engines database with a new resource. Test with: - * curl -X PUT -H 'Content-Type: application/searsia+json; charset=UTF-8' http://localhost:16842/searsia/update/2 -d '{"resource":{"id":"2", "apitemplate":"http://search.utwente.nl/searsia/suggestions.php?q={q}", "testquery":"osiris"}}' + * curl -X PUT -H 'Content-Type: application/searsia+json; charset=UTF-8' http://localhost:16842/searsia/update/2 -d '{"resource":{"id":"2", "apitemplate":"https://search.utwente.nl/searsia/suggestions.php?q={q}", "testquery":"osiris"}}' * * @param id engine identifier * @param headers http headers diff --git a/src/test/java/org/searsia/engine/SearchEngineTest.java b/src/test/java/org/searsia/engine/SearchEngineTest.java index cdb1d84..828ebbb 100644 --- a/src/test/java/org/searsia/engine/SearchEngineTest.java +++ b/src/test/java/org/searsia/engine/SearchEngineTest.java @@ -38,7 +38,7 @@ private SearchEngine hiemstraSearch() throws XPathExpressionException { } private SearchEngine searsiaSearch() throws XPathExpressionException { - return new SearchEngine("http://search.utwente.nl/searsia/search.php?q={q?}&r={r?}"); + return new SearchEngine("https://search.utwente.nl/searsia/search.php?q={q?}&r={r?}"); } @BeforeClass diff --git a/src/test/java/org/searsia/web/SearchTest.java b/src/test/java/org/searsia/web/SearchTest.java index b9908b8..a115b96 100644 --- a/src/test/java/org/searsia/web/SearchTest.java +++ b/src/test/java/org/searsia/web/SearchTest.java @@ -34,7 +34,7 @@ public class SearchTest { private static HitsWriter writer; private static SearchEngine utwente() { - return new SearchEngine("http://search.utwente.nl/searsia/search.php?q={q?}&r={r?}", "utwente"); + return new SearchEngine("https://search.utwente.nl/searsia/search.php?q={q?}&r={r?}", "utwente"); } private static SearchEngine wrong() {