Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- fix path to default heuristic.cfg - deprecate unused ProxyServlet
reger6c3f36def139
diff --git a/htroot/ConfigHeuristics_p.java b/htroot/ConfigHeuristics_p.javaindex 0e746741b..a171ea078 100644--- a/htroot/ConfigHeuristics_p.java+++ b/htroot/ConfigHeuristics_p.java@@ -138,7 +138,7 @@ public class ConfigHeuristics_p {// copy default opensearch heuristic config with sample entriesif (post.containsKey("copydefaultosdconfig") || post.containsKey("resettodefaultosdlist")) {// prepare a solr index profile switch list- final File osdDefaultConfig = new File(sb.getDataPath(), "defaults/heuristicopensearch.conf");+ final File osdDefaultConfig = new File(sb.getAppPath(), "defaults/heuristicopensearch.conf");final File osdConfig = new File(sb.getDataPath(), "DATA/SETTINGS/heuristicopensearch.conf");if ((post.containsKey("resettodefaultosdlist") || !osdConfig.exists()) && osdDefaultConfig.exists()) {try {diff --git a/source/net/yacy/http/servlets/YaCyProxyServlet.java b/source/net/yacy/http/servlets/YaCyProxyServlet.javaindex a2cd87283..d13b96798 100644--- a/source/net/yacy/http/servlets/YaCyProxyServlet.java+++ b/source/net/yacy/http/servlets/YaCyProxyServlet.java@@ -54,8 +54,10 @@ import org.eclipse.jetty.proxy.ProxyServlet;* later improvemnts should/could use implementation to avoid back and forth converting* between YaCy and Servlet header/parameter style and use proxy implementation within* servlet specification or a existing reverse-proxy library.- *+ *+ * @deprecated since 1.81 use {@link UrlProxyServlet} instead.*/+@Deprecated //use UrlProxyServlet insteadpublic class YaCyProxyServlet extends ProxyServlet implements Servlet {private static final long serialVersionUID = 4900000000000001120L;