Revision: 51
Author: maka82
Date: Mon Aug 17 13:56:27 2009
Log: Maximum length of query is set to 1024, according to explanation from
here:
http://groups.google.com/group/google-code-search/browse_thread/thread/2064067f869ddc71?hl=en
http://code.google.com/p/apache-rat-pd/source/detail?r=51
Modified:
/trunk/src/main/java/org/apache/rat/pd/engines/google/GoogleCodeSearchParser.java
=======================================
---
/trunk/src/main/java/org/apache/rat/pd/engines/google/GoogleCodeSearchParser.java
Sun Aug 16 16:43:54 2009
+++
/trunk/src/main/java/org/apache/rat/pd/engines/google/GoogleCodeSearchParser.java
Mon Aug 17 13:56:27 2009
@@ -62,7 +62,7 @@
// timeout time between two requests
public static final int WAIT_TIME = 2000;
// 2324 is too long
- public static final int CODESEARCH_QUERY_MAX_LENGTH = 2000;
+ public static final int CODESEARCH_QUERY_MAX_LENGTH = 1024;
private static final String CODESEARCH_FEEDS_URL
= "http://www.google.com/codesearch/feeds/search?";