Skip to content

Commit

Permalink
more https updates
Browse files Browse the repository at this point in the history
  • Loading branch information
searsia committed Mar 11, 2016
1 parent e2c1d76 commit 9977fb0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/searsia/SearsiaOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/searsia/web/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/searsia/engine/SearchEngineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/searsia/web/SearchTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 9977fb0

Please sign in to comment.