Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
you can now search for '*' to get just ALL entries in the search index as result list. This makes sense if you intend to search just by using the navigation tools to cut the data set into navigation 'slices'.
orbiter54e193a2b8cb
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.javaindex dc3f59f20..fa95392b2 100644--- a/htroot/yacysearch.java+++ b/htroot/yacysearch.java@@ -115,7 +115,7 @@ public class yacysearch {// get queryfinal String originalquerystring = (post == null) ? "" : post.get("query", post.get("search", "")).trim();- String querystring = originalquerystring.replace('+', ' ').replace('*', ' ').trim();+ String querystring = originalquerystring.replace('+', ' ').trim();CacheStrategy snippetFetchStrategy = (post == null) ? null : CacheStrategy.parse(post.get("verify", "cacheonly"));if (authenticated && originalquerystring.length() == 0) sb.index.fulltext().commit();@@ -356,6 +356,9 @@ public class yacysearch {final RankingProfile ranking = sb.getRanking();final StringBuilder modifier = new StringBuilder(20);+ if ("*".equals(querystring)) {+ querystring = Segment.catchallString;+ }if ( querystring.indexOf("/near", 0) >= 0 ) {querystring = querystring.replace("/near", "");ranking.allZero(); // switch off all attributes