From 32aa1d45698b5ed49c7b98464f5a2263f4a0c9fe Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 28 Jun 2013 15:32:36 +0200 Subject: [PATCH] removed unused option for queries --- htroot/IndexControlRWIs_p.java | 1 - htroot/yacy/search.java | 2 -- htroot/yacysearch.java | 5 +---- source/net/yacy/search/query/QueryParams.java | 1 - 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/htroot/IndexControlRWIs_p.java b/htroot/IndexControlRWIs_p.java index 0c31e1ef2..fec86a89a 100644 --- a/htroot/IndexControlRWIs_p.java +++ b/htroot/IndexControlRWIs_p.java @@ -639,7 +639,6 @@ public class IndexControlRWIs_p { null, null, QueryParams.Searchdom.LOCAL, - -1, filter, false, null, diff --git a/htroot/yacy/search.java b/htroot/yacy/search.java index 148499108..d507ce8a8 100644 --- a/htroot/yacy/search.java +++ b/htroot/yacy/search.java @@ -238,7 +238,6 @@ public final class search { null, null, QueryParams.Searchdom.LOCAL, - -1, null, false, null, @@ -303,7 +302,6 @@ public final class search { null, null, QueryParams.Searchdom.LOCAL, - -1, constraint, false, null, diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index c8d3191c2..0414d819c 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -655,10 +655,7 @@ public class yacysearch { itemsPerPage, startRecord, urlmask, tld, inlink, - clustersearch && global ? QueryParams.Searchdom.CLUSTER : (global && indexReceiveGranted - ? QueryParams.Searchdom.GLOBAL - : QueryParams.Searchdom.LOCAL), - 20, + clustersearch && global ? QueryParams.Searchdom.CLUSTER : (global && indexReceiveGranted ? QueryParams.Searchdom.GLOBAL : QueryParams.Searchdom.LOCAL), constraint, true, DigestURI.hosthashess(sb.getConfig("search.excludehosth", "")), diff --git a/source/net/yacy/search/query/QueryParams.java b/source/net/yacy/search/query/QueryParams.java index b94364b21..719e20bb0 100644 --- a/source/net/yacy/search/query/QueryParams.java +++ b/source/net/yacy/search/query/QueryParams.java @@ -192,7 +192,6 @@ public final class QueryParams { final String tld, final String inlink, final Searchdom domType, - final int domMaxTargets, final Bitfield constraint, final boolean allofconstraint, final Set siteexcludes,