diff --git a/source/net/yacy/cora/services/federated/solr/GSAResponseWriter.java b/source/net/yacy/cora/services/federated/solr/GSAResponseWriter.java index cb1a4542a..1987c83d2 100644 --- a/source/net/yacy/cora/services/federated/solr/GSAResponseWriter.java +++ b/source/net/yacy/cora/services/federated/solr/GSAResponseWriter.java @@ -177,9 +177,12 @@ public class GSAResponseWriter implements QueryResponseWriter { writer.write(""); writer.write(lb); // The index (1-based) of the first and last search result returned in this result set. writer.write("" + response.matches() + ""); writer.write(lb); // The estimated total number of results for the search. writer.write(""); writer.write(lb); // Indicates that document filtering was performed during this search. - XML.escapeCharData("/search?q=" + request.getParams().get("q") + "&site=" + (String) context.get("site") + + writer.write(""); + XML.escapeCharData("/search?q=" + request.getParams().get("q") + "&site=" + (String) context.get("site") + "&lr=&ie=UTF-8&oe=UTF-8&output=xml_no_dtd&client=" + (String) context.get("client") + "&access=" + (String) context.get("access") + - "&sort=" + (String) context.get("sort") + "&start=" + resHead.offset + responseCount + "&sa=N", writer); writer.write(lb); // a relative URL pointing to the NEXT results page. + "&sort=" + (String) context.get("sort") + "&start=" + resHead.offset + responseCount + "&sa=N", writer); // a relative URL pointing to the NEXT results page. + writer.write(""); + writer.write(lb); // parse body SolrIndexSearcher searcher = request.getSearcher();