blob: aae4e0171a374413efaa9ab1c229c87830866c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
|
<!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]#': Index Control</title>
#%env/templates/metas.template%#
</head>
<body id="IndexControl">
#%env/templates/header.template%#
#%env/templates/submenuIndexControl.template%#
<h2>Index Administration</h2>
<p>The local index currently contains #[wcount]# reverse word indexes</p>
<form action="IndexControlRWIs_p.html" method="post" enctype="multipart/form-data">
<fieldset><legend>RWI Retrieval</legend>
<dl>
<dt class="TableCellDark">Retrieve by Word:</dt>
<dd><input type="text" name="keystring" value="#[keystring]#" size="40" maxlength="80" />
<input type="submit" name="keystringsearch" value="Show URL Entries for Word" />
</dd>
<dt class="TableCellDark">Retrieve by Word-Hash:</dt>
<dd><input type="text" name="keyhash" value="#[keyhash]#" size="40" maxlength="12" />
<input type="submit" name="keyhashsearch" value="Show URL Entries for Word-Hash" />
<input type="submit" name="keyhashsimilar" value="Generate List" />
</dd>
</dl>
</fieldset>
</form>
#(searchresult)#::
<p>No entry for word '#[word]#'</p>::
<p>No entry for word hash #[wordhash]#</p>::
<p>Search result:
<form name="selection" action="IndexControlRWIs_p.html" method="post" enctype="multipart/form-data">
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td style="background-color:#FFFFFF"> </td>
<td rowspan="2">total URLs</td>
<td colspan="6">appearance in</td>
<td colspan="4">in link type</td>
<td colspan="1">document type</td>
</tr>
<tr class="TableCellDark">
<td style="background-color:#FFFFFF"> </td>
<td>description</td>
<td>title</td>
<td>creator</td>
<td>subject</td>
<td>url</td>
<td>emphasized</td>
<td>image</td>
<td>audio</td>
<td>video</td>
<td>app</td>
<td>index of</td>
</tr>
<tr class="TableCellDark">
<td style="background-color:#FFFFFF"> </td>
<td>#[allurl]#</td>
<td>#[description]#</td>
<td>#[title]#</td>
<td>#[creator]#</td>
<td>#[subject]#</td>
<td>#[url]#</td>
<td>#[emphasized]#</td>
<td>#[image]#</td>
<td>#[audio]#</td>
<td>#[video]#</td>
<td>#[app]#</td>
<td>#[indexof]#</td>
</tr>
<tr class="TableCellLight">
<td class="TableCellDark">Selection</td>
<td><input type="checkbox" name="allurl" id="allurl" checked="checked" /></td>
<td><input type="checkbox" name="description" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="title" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="creator" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="subject" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="url" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="emphasized" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="image" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="audio" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="video" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="app" onclick="document.selection.allurl.checked=false" /></td>
<td><input type="checkbox" name="indexof" onclick="document.selection.allurl.checked=false" /></td>
</tr>
</table>
</p>
<fieldset><legend>Display URL List</legend>
<dl>
<dt class="TableCellDark">Number of lines:</dt>
<dd><input type="radio" name="lines" value="all" />all lines
<input type="radio" name="lines" value="100" checked="checked" />100
<input type="radio" name="lines" value="1000" />1000
</dd>
<dt class="TableCellDark">Ordering of list:</dt>
<dd><input type="radio" name="ordering" value="2" checked="checked" />by Ranking
<input type="radio" name="ordering" value="0"/>by URL
<input type="radio" name="ordering" value="1" />by URL Hash
</dd>
<dt class="TableCellLight"></dt>
<dd><input type="submit" name="urllist" value="List Selected URLs" />
</dd>
</dl>
</fieldset>
<fieldset><legend>Transfer RWI to other Peer</legend>
<dl>
<dt class="TableCellDark">Transfer by Word-Hash:</dt>
<dd><input type="text" name="keyhash" value="#[keyhash]#" size="40" maxlength="12" />
<input type="submit" name="keyhashtransfer" value="Transfer to other peer" />
</dd>
<dt class="TableCellDark">to Peer:</dt>
<dd>select <select name="hostHash">
#{hosts}#
<option value="#[hosthash]#">#[hostname]#</option>
#{/hosts}#
</select> or enter a hash:<input type="text" name="host" value="" size="21" maxlength="21" />
</dd>
</dl>
</fieldset>
</form>
#(/searchresult)#
#(keyhashsimilar)#::Sequential List of Word-Hashes:<br />
#{rows}#
#{cols}#
<a href="/IndexControlRWIs_p.html?keyhash=#[wordHash]#&keyhashsearch=1" class="tt">#[wordHash]#</a>#{/cols}#<br />
#{/rows}#
#(/keyhashsimilar)#
#(genUrlList)#
::
No URL entries related to this word hash <span class="tt">#[keyHash]#</span>.
::
<p>#[count]# URL entries related to this word hash <span class="tt">#[keyHash]#</span></p>
<form action="IndexControlRWIs_p.html" method="post" enctype="multipart/form-data">
<p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td colspan="3">Resource</td>
<td colspan="8">Negative Ranking Factors</td>
<td colspan="8">Positive Ranking Factors</td>
<td rowspan="2">props</td>
<td rowspan="2">Reverse Normalized Weighted Ranking Sum</td>
</tr>
<tr class="TableHeader">
<td> </td>
<td>hash</td>
<td>url</td>
<td>dom length</td>
<td>ybr</td>
<td>url comps</td>
<td>url length</td>
<td>pos in text</td>
<td>pos of phrase</td>
<td>pos in phrase</td>
<td>word distance</td>
<td>term frequency</td>
<td>authority</td>
<td>date</td>
<td>words in title</td>
<td>words in text</td>
<td>local links</td>
<td>remote links</td>
<td>hitcount</td>
</tr>
#{urlList}#
<tr class="TableCellLight">
#(urlExists)#
<td class="TableCellDark"><input type="checkbox" id="urlhx.#[urlhxCount]#" name="urlhx.#[urlhxCount]#" checked value="#[urlhxValue]#" align="top" />
<label for="urlhx.#[urlhxCount]#" class="tt">#[urlhxValue]#</label></td>
<td><unresolved URL Hash></td>
<td colspan="15"></td>
::
<td><input type="checkbox" id="urlhx.#[urlhxCount]#" name="urlhx.#[urlhxCount]#" #(urlhxChecked)#::checked="checked" #(/urlhxChecked)#value="#[urlhxValue]#" align="top" />
<label for="urlhx.#[urlhxCount]#" class="tt"></label></td>
<td><a href="/IndexControlURLs_p.html?keystring=#[keyString]#&keyhash=#[keyHash]#&urlhash=#[urlhxValue]#&urlstringsearch=&urlstring=#[urlString]#" class="tt">#[urlhxValue]#</a></td>
<td><a href="#[urlString]#">#[urlStringShort]#</a></td>
<td class="TableCellDark">#[domlength]#</td>
<td class="TableCellDark">#[ybr]#</td>
<td class="TableCellDark">#[urlcomps]#</td>
<td class="TableCellDark">#[urllength]#</td>
<td class="TableCellDark">#[pos]#</td>
<td class="TableCellDark">#[phrase]#</td>
<td class="TableCellDark">#[posinphrase]#</td>
<td class="TableCellDark">#[worddistance]#</td>
<td>#[tf]#</td>
<td>#[authority]#</td>
<td>#[date]#</td>
<td>#[wordsintitle]#</td>
<td>#[wordsintext]#</td>
<td>#[llocal]#</td>
<td>#[lother]#</td>
<td>#[hitcount]#</td>
<td>#[props]#</td>
<td align="right" class="TableCellDark">#[ranking]#</td>
#(/urlExists)#
</tr>
#{/urlList}#
</table>
<input type="hidden" name="flags" value="#[flags]#" />
<input type="hidden" name="lines" value="#[lines]#" />
<input type="hidden" name="ordering" value="#[ordering]#" />
<input type="hidden" name="keystring" value="#[keyString]#" />
<input type="hidden" name="keyhash" value="#[keyHash]#" />
<input type="hidden" name="urlstring" value="" />
<input type="hidden" name="urlhash" value="" /><br />
<fieldset><legend>Reference Deletion</legend>
<dl>
<dt><input type="checkbox" id="delurl" name="delurl" value="" align="top" checked /></dt>
<dd>delete also the referenced URL itself (reasonable and recommended, may produce unresolved references<br />
at other word indexes but they do not harm)
</dd>
<dt><input type="checkbox" id="delurlref" name="delurlref" value="" align="top" /></dt>
<dd>for every resolvable and deleted URL reference, delete the same reference at every other word where<br />
the reference exists (very extensive, but prevents further unresolved references)
</dd>
<dt> </dt>
<dd>
<input type="submit" value="Delete reference to selected URLs" name="keyhashdelete" /><br />
<input type="submit" value="Delete reference to ALL URLs" name="keyhashdeleteall" /><span class="small"> (= delete Word)</span>
</dd>
</dl>
</fieldset>
<fieldset><legend>Blacklist Extension</legend>
<dl>
<dt>
<select name="blacklist" size="1">#{blacklists}#
<option value="#[name]#">#[name]#</option>#{/blacklists}#
</select>
</dt>
<dd>
<input type="submit" value="Add selected URLs to blacklist" name="blacklisturls" /><br />
<input type="submit" value="Add selected domains to blacklist" name="blacklistdomains" />
</dd>
</dl>
</fieldset>
</form>
<br />#(/genUrlList)#
#[result]#
#%env/templates/footer.template%#
</body>
</html>
|