diff --git a/htroot/IndexControlRWIs_p.java b/htroot/IndexControlRWIs_p.java index 90d454b1b..272edfeef 100644 --- a/htroot/IndexControlRWIs_p.java +++ b/htroot/IndexControlRWIs_p.java @@ -519,7 +519,7 @@ public class IndexControlRWIs_p { public static RankingProcess genSearchresult(final serverObjects prop, final Switchboard sb, Segment segment, final byte[] keyhash, final Bitfield filter) { final QueryParams query = new QueryParams(new String(keyhash), -1, filter, segment, sb.getRanking()); final ReferenceOrder order = new ReferenceOrder(query.ranking, query.targetlang); - final RankingProcess ranked = new RankingProcess(query, order, Integer.MAX_VALUE, 1); + final RankingProcess ranked = new RankingProcess(query, order, Integer.MAX_VALUE); ranked.run(); if (ranked.filteredCount() == 0) { diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index c3a2042e3..f8be7c6ad 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -28,7 +28,7 @@