From 57e1eae95ee6378c91af839f3b684e1842666eaa Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 7 Mar 2010 22:23:08 +0000 Subject: [PATCH] longer time-out for url fetching .. may help to show all that links that the statistic say for a search result git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6727 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/search/DocumentIndex.java | 2 +- source/de/anomic/search/SearchEvent.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/search/DocumentIndex.java b/source/de/anomic/search/DocumentIndex.java index 29c50231b..97a228f87 100644 --- a/source/de/anomic/search/DocumentIndex.java +++ b/source/de/anomic/search/DocumentIndex.java @@ -210,7 +210,7 @@ public class DocumentIndex extends Segment { ArrayList result = new ArrayList(); URIMetadataRow r; - while ((r = rankedCache.takeURL(false, 1)) != null) result.add(r); + while ((r = rankedCache.takeURL(false, 100)) != null) result.add(r); return result; } diff --git a/source/de/anomic/search/SearchEvent.java b/source/de/anomic/search/SearchEvent.java index 466359009..3f2fa1e79 100644 --- a/source/de/anomic/search/SearchEvent.java +++ b/source/de/anomic/search/SearchEvent.java @@ -183,7 +183,7 @@ public final class SearchEvent { } // start worker threads to fetch urls and snippets - this.results = new ResultFetcher(rankedCache, query, peers, 10); + this.results = new ResultFetcher(rankedCache, query, peers, 300); } // clean up events