Skip to content

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

*) peer-search on Network.html now is case-insensitive

hydrox5af76fccd74e
diff --git a/htroot/Network.java b/htroot/Network.java
index 29ce8a9bd..e302e4a09 100644
--- a/htroot/Network.java
+++ b/htroot/Network.java
@@ -298,7 +298,7 @@ public class Network {
long myValue=0, nextValue=0, prevValue=0, nextPPM=0, myPPM=0;
Pattern peerSearchPattern = null;
if(post.containsKey("search")) {
- peerSearchPattern = Pattern.compile(post.get("match", ""));
+ peerSearchPattern = Pattern.compile(post.get("match", ""), Pattern.CASE_INSENSITIVE);
}
while (e.hasMoreElements() && conCount < maxCount) {
seed = (yacySeed) e.nextElement();