Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for browsing of file paths in Index Browser
orbiter500e0b9927b6
diff --git a/htroot/HostBrowser.java b/htroot/HostBrowser.javaindex b3e56dbe2..e171f74bb 100644--- a/htroot/HostBrowser.java+++ b/htroot/HostBrowser.java@@ -287,7 +287,7 @@ public class HostBrowser {// get all files for a specific host from the indexStringBuilder q = new StringBuilder();- q.append(CollectionSchema.host_s.getSolrFieldName()).append(':').append(host);+ if (host != null) q.append(CollectionSchema.host_s.getSolrFieldName()).append(':').append(host);if (pathparts.length > 0 && pathparts[0].length() > 0) {for (String pe: pathparts) {if (pe.length() > 0) q.append(" AND ").append(CollectionSchema.url_paths_sxt.getSolrFieldName()).append(":\"").append(pe).append('\"');