You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/DetailedSearch.html

154 lines
6.3 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy '#[clientname]#': Search Page</title>
#%env/templates/metas.template%#
</head>
<body id="DetailedSearch">
#%env/templates/header.template%#
<script type="text/javascript">
/* <![CDATA[ */
function checker(name, z1, z2) {
if (z1 == z2) {
document.write("<input type=\"radio\" name=\"" + name + "\" value=\"" + z2 + "\" checked=\"checked\" />");
} else {
document.write("<input type=\"radio\" name=\"" + name + "\" value=\"" + z2 + "\">");
}
}
function checkers(name, n) {
for (i = 0; i < 16; i++) {
checker(name, n, i);
}
document.write(n);
}
/* ]]> */
</script>
<h2>Detailed&nbsp;Search</h2>
<form class="dsearch" action="DetailedSearch.html" method="get" enctype="multipart/form-data">
<fieldset>
<input type="text" name="search" value="#[search]#" size="50" maxlength="250" />
<input type="submit" name="Enter" value="Search" />
</fieldset>
<fieldset>
<legend>Query Attributes</legend>
<dl>
<dt><label for="global">Global:</label></dt>
<dd><input type="checkbox" name="global" id="global" #[globalChecked]# /></dd>
<dt><label for="postsort">Post-Sort:</label></dt>
<dd><input type="checkbox" name="postsort" id="postsort" #[postsortChecked]# /></dd>
<dt><label for="localCount">Max. number of results:</label></dt>
<dd><input type="text" name="localCount" id="localCount" value="#[localCount]#" size="4" maxlength="5" /></dd>
<dt><label for="localTime">Max. search time (seconds):</label></dt>
<dd><input type="text" name="localTime" id="localTime" value="#[localTime]#" size="4" maxlength="3" /></dd>
<dt><label for="localWDist">Max. word distance:</label></dt>
<dd><input type="text" name="localWDist" id="localWDist" value="#[localWDist]#" size="4" maxlength="4" /></dd>
</dl>
</fieldset>
<fieldset>
<legend>Local Pre-Ranking</legend>
<dl>
<dt>Entropy</dt>
<dd>
<script type="text/javascript">checkers("localentropy", #[localentropy]#)</script>
</dd>
<dt>Date</dt>
<dd>
<script type="text/javascript">checkers("localdate", #[localdate]#)</script>
</dd>
<dt>YBR</dt>
<dd>
<script type="text/javascript">checkers("localybr", #[localybr]#)</script>
</dd>
<dt>Position in Text</dt>
<dd>
<script type="text/javascript">checkers("localposintext", #[localposintext]#)</script>
</dd>
<dt>Word Distance</dt>
<dd>
<script type="text/javascript">checkers("localworddistance", #[localworddistance]#)</script>
</dd>
<dt>Word Hit Count</dt>
<dd>
<script type="text/javascript">checkers("localhitcount", #[localhitcount]#)</script>
</dd>
<dt>Domain Length</dt>
<dd>
<script type="text/javascript">checkers("localdomlength", #[localdomlength]#)</script>
</dd>
</dl>
</fieldset>
<fieldset>
<legend>Local Post-Ranking</legend>
<dl>
<dt>URL Length</dt>
<dd>
<script type="text/javascript">checkers("localurllength", #[localurllength]#)</script>
</dd>
<dt>URL Components</dt>
<dd>
<script type="text/javascript">checkers("localurlcomps", #[localurlcomps]#)</script>
</dd>
<dt>Description Length</dt>
<dd>
<script type="text/javascript">checkers("localdescrlength", #[localdescrlength]#)</script>
</dd>
<dt>Description Components</dt>
<dd>
<script type="text/javascript">checkers("localdescrcomps", #[localdescrcomps]#)</script>
</dd>
<dt>Query appears in URL</dt>
<dd>
<script type="text/javascript">checkers("localqueryinurl", #[localqueryinurl]#)</script>
</dd>
<dt>Query appears in Description</dt>
<dd>
<script type="text/javascript">checkers("localqueryindescr", #[localqueryindescr]#)</script>
</dd>
<dt>URL Component appears in Toplist</dt>
<dd>
<script type="text/javascript">checkers("localurlcompintoplist", #[localurlcompintoplist]#)</script>
</dd>
<dt>Description Component appears in Toplist</dt>
<dd>
<script type="text/javascript">checkers("localdescrcompintoplist", #[localdescrcompintoplist]#)</script>
</dd>
</dl>
</fieldset>
</form>
#(type)#
#(excluded)#
::
<p><strong>The following words are stop-words and had been excluded from the search: #[stopwords]#.</strong></p>
#(/excluded)#
#(num-results)#
::
<strong>#[linkcount]#</strong> results from <strong>#[orderedcount]#</strong> ordered links of a total number of <strong>#[totalcount]#</strong> known.
#(/num-results)#
#(combine)#
::
<p><strong>Topwords</strong> (to refine search):
#{words}#
<a href="DetailedSearch.html?search=#[newsearch]#&amp;Enter=Search&amp;count=#[count]#&amp;resource=#[resource]#&amp;time=#[time]##[ranking]#">#[word]#</a>
#{/words}#
</p>
#(/combine)#
<!-- linklist begin -->
#{results}#
<!-- link begin -->
<div class="searchresults">
<div class="urlactions">
<a href="#[delete]#" title="delete" class="deletelink" ><img src="/env/grafics/empty.gif" title="delete" alt="delete" class="deleteIcon" /></a>
</div>
<h4 class="linktitle"><a href="#[url]#">#[description]#</a></h4>
#(snippet)#::<p class="snippet"><em>#[text]#</em></p>#(/snippet)#
<p class="url"><a href="#[url]#" id="url#[urlhash]#">#[urlname]#</a></p>
<p class="urlinfo">#[date]# | YBR-#[ybr]# | <a href="ViewFile.html?urlHash=#[urlhash]#&amp;words=#[words]#">Info</a></p>
<p class="urlinfo">#[rankingprops]#</p>
</div>
<!-- link end -->
#{/results}#
#(/type)#
<!-- linklist end -->
#%env/templates/footer.template%#
</body>
</html>