|
|
@ -138,7 +138,7 @@ public class yacysearch {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (sb.facilityDB != null) try { sb.facilityDB.update("zeitgeist", querystring, post); } catch (Exception e) {}
|
|
|
|
if (sb.facilityDB != null) try { sb.facilityDB.update("zeitgeist", querystring, post); } catch (Exception e) {}
|
|
|
|
|
|
|
|
|
|
|
|
int itemsPerPage = Math.max((authenticated) ? 1000 : 10, post.getInt("maximumRecords", post.getInt("count", 10))); // SRU syntax with old property as alternative
|
|
|
|
int itemsPerPage = Math.min((authenticated) ? 1000 : 10, post.getInt("maximumRecords", post.getInt("count", 10))); // SRU syntax with old property as alternative
|
|
|
|
int offset = post.getInt("startRecord", post.getInt("offset", 0));
|
|
|
|
int offset = post.getInt("startRecord", post.getInt("offset", 0));
|
|
|
|
|
|
|
|
|
|
|
|
boolean global = (post == null) ? true : post.get("resource", "global").equals("global");
|
|
|
|
boolean global = (post == null) ? true : post.get("resource", "global").equals("global");
|
|
|
|