diff --git a/htroot/DetailedSearch.html b/htroot/DetailedSearch.html index 93e041bc3..5d8bf6e81 100644 --- a/htroot/DetailedSearch.html +++ b/htroot/DetailedSearch.html @@ -30,6 +30,10 @@ /* ]]> */

Detailed Search

+ #(num-results)# + :: +

#[linkcount]# results from #[orderedcount]# ordered links from #[filteredcount]# filtered links of a total number of #[totalcount]# known.

+ #(/num-results)#
@@ -98,10 +102,6 @@ ::

The following words are stop-words and had been excluded from the search: #[stopwords]#.

#(/excluded)# - #(num-results)# - :: - #[linkcount]# results from #[orderedcount]# ordered links of a total number of #[totalcount]# known. - #(/num-results)# #(combine)# ::

Topwords (to refine search): diff --git a/htroot/DetailedSearch.java b/htroot/DetailedSearch.java index a74ecbe48..4fb31da17 100644 --- a/htroot/DetailedSearch.java +++ b/htroot/DetailedSearch.java @@ -178,14 +178,8 @@ public class DetailedSearch { if (prop == null || prop.size() == 0) { prop.put("num-results", 0); } else { - final int linkcount = Integer.parseInt(prop.get("type_linkcount", "0")); - final int orderedcount = Integer.parseInt(prop.get("type_orderedcount", "0")); - final int totalcount = Integer.parseInt(prop.get("type_totalcount", "0")); final Object[] references = (Object[]) prop.get("type_references", new String[0]); - prop.put("type_num-results", 1); - prop.put("type_num-results_linkcount", linkcount); - prop.put("type_num-results_orderedcount", orderedcount); - prop.put("type_num-results_totalcount", totalcount); + prop.put("num-results", 1); int hintcount = references.length; if (hintcount > 0) { if (hintcount > 16) { hintcount = 16; }