Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fix "more from site" feature to work on pages beyond the first. Patch contributed by Marco Vanossi.

Douglass Cutting58ad9547e433
diff --git a/src/web/jsp/search.jsp b/src/web/jsp/search.jsp
index c17b6a701..a5c273453 100644
--- a/src/web/jsp/search.jsp
+++ b/src/web/jsp/search.jsp
@@ -214,7 +214,7 @@ out.flush();
<% if (hit.moreFromSiteExcluded()) {
String more =
"query="+URLEncoder.encode("site:"+hit.getSite()+" "+queryString)
- +"&start="+start+"&hitsPerPage="+hitsPerPage+"&hitsPerSite="+0
+ +"&hitsPerPage="+hitsPerPage+"&hitsPerSite="+0
+"&clustering="+clustering;%>
(<a href="../search.jsp?<%=more%>"><i18n:message key="moreFrom"/>
<%=hit.getSite()%></a>)