Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

configuration of number of output lines in IndexMonitor

orbiterc47736a15879
diff --git a/htroot/IndexMonitor.java b/htroot/IndexMonitor.java
index 5793e1fd0..95ae5f3dd 100644
--- a/htroot/IndexMonitor.java
+++ b/htroot/IndexMonitor.java
@@ -94,6 +94,11 @@ public class IndexMonitor {
}
}
+ // custom number of lines
+ if (post.containsKey("count")) {
+ showIndexedCount = Integer.parseInt((String) post.get("count", "40"));
+ }
+
// do the commands
if (post.containsKey("clearlist")) switchboard.urlPool.loadedURL.clearStack(process);
if (post.containsKey("deleteentry")) {