|
|
|
@ -111,14 +111,13 @@ public class yacysearch {
|
|
|
|
|
"network.unit.description",
|
|
|
|
|
"") : env.getConfig(SwitchboardConstants.GREETING, "");
|
|
|
|
|
final String client = header.get(HeaderFramework.CONNECTION_PROP_CLIENTIP); // the search client who initiated the search
|
|
|
|
|
if (authenticated) sb.index.fulltext().commit();
|
|
|
|
|
|
|
|
|
|
// get query
|
|
|
|
|
final String originalquerystring =
|
|
|
|
|
(post == null) ? "" : post.get("query", post.get("search", "")).trim();
|
|
|
|
|
final String originalquerystring = (post == null) ? "" : post.get("query", post.get("search", "")).trim();
|
|
|
|
|
String querystring = originalquerystring.replace('+', ' ').replace('*', ' ').trim();
|
|
|
|
|
CacheStrategy snippetFetchStrategy =
|
|
|
|
|
(post == null) ? null : CacheStrategy.parse(post.get("verify", "cacheonly"));
|
|
|
|
|
CacheStrategy snippetFetchStrategy = (post == null) ? null : CacheStrategy.parse(post.get("verify", "cacheonly"));
|
|
|
|
|
if (authenticated && originalquerystring.length() == 0 && sb.crawler.getActiveSize() > 0) sb.index.fulltext().commit();
|
|
|
|
|
|
|
|
|
|
final servletProperties prop = new servletProperties();
|
|
|
|
|
prop.put("topmenu", sb.getConfigBool("publicTopmenu", true) ? 1 : 0);
|
|
|
|
|
|
|
|
|
|