From ed2ca8fc4c476923c06a282deccbf4ee7b8ec5d9 Mon Sep 17 00:00:00 2001 From: fuchsi Date: Tue, 2 Oct 2007 19:49:50 +0000 Subject: [PATCH] Add search type to top word suggestion searches. Closes: http://forum.yacy-websuche.de/viewtopic.php?f=6&t=391 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4122 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacysearchitem.html | 2 +- htroot/yacysearchitem.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.html index 2d2ed0781..45c7e133a 100644 --- a/htroot/yacysearchitem.html +++ b/htroot/yacysearchitem.html @@ -50,7 +50,7 @@ #(/rss)# #(references)#::

Topwords: -#{words}# #[word]##{/words}# +#{words}# #[word]##{/words}#

#(/references)# #(rssreferences)#:: diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.java index 9aa735462..da1c86658 100644 --- a/htroot/yacysearchitem.java +++ b/htroot/yacysearchitem.java @@ -147,6 +147,7 @@ public class yacysearchitem { prop.put("references_words_" + hintcount + "_newsearch", theQuery.queryString.replace(' ', '+') + "+" + word); prop.put("references_words_" + hintcount + "_count", theQuery.displayResults()); prop.put("references_words_" + hintcount + "_offset", 0); + prop.put("references_words_" + hintcount + "_contentdom", theQuery.contentdom()); prop.put("references_words_" + hintcount + "_resource", theQuery.searchdom()); prop.put("references_words_" + hintcount + "_time", (theQuery.maximumTime / 1000)); }