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.
315 lines
16 KiB
315 lines
16 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]#': Index Creation</title>
|
|
#%env/templates/metas.template%#
|
|
<script type="text/javascript" src="/js/ajax.js"></script>
|
|
<script type="text/javascript" src="/js/IndexCreate.js"></script>
|
|
</head>
|
|
<body id="IndexCreate">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuIndexCreate.template%#
|
|
<h2>Index Creation</h2>
|
|
|
|
<p id="startCrawling">
|
|
<strong>Start Crawling Job:</strong>
|
|
You can define URLs as start points for Web page crawling and start crawling here. "Crawling" means that YaCy will download the given website, extract all links in it and then download the content behind these links. This is repeated as long as specified under "Crawling Depth".
|
|
</p>
|
|
|
|
<form action="WatchCrawler_p.html" method="post" enctype="multipart/form-data">
|
|
<table border="0" cellpadding="5" cellspacing="1">
|
|
<tr class="TableHeader">
|
|
<td><strong>Attribut</strong></td>
|
|
<td><strong>Value</strong></td>
|
|
<td><strong>Description</strong></td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellSummary">
|
|
<td>Starting Point:</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td><label for="url"><nobr>From URL</nobr></label>:</td>
|
|
<td><input type="radio" name="crawlingMode" id="url" value="url" checked="checked" /></td>
|
|
<td>
|
|
<input name="crawlingURL" type="text" size="41" maxlength="256" value="http://" onkeypress="changed()" />
|
|
<span id="robotsOK"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="url"><nobr>From Sitemap</nobr></label>:</td>
|
|
<td><input type="radio" name="crawlingMode" id="sitemap" value="sitemap" disabled="true"/></td>
|
|
<td>
|
|
<input name="sitemapURL" type="text" size="41" maxlength="256" value="" readonly="true"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="file"><nobr>From File</nobr></label>:</td>
|
|
<td><input type="radio" name="crawlingMode" id="file" value="file" /></td>
|
|
<td><input type="file" name="crawlingFile" size="28" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" class="commit"><span id="title"><br></span><img src="/env/grafics/empty.gif" name="ajax" /></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td colspan="3">
|
|
Existing start URLs are re-crawled.
|
|
Other already visited URLs are sorted out as "double".
|
|
A complete re-crawl will be available soon.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td><label for="crawlingDepth">Crawling Depth</label>:</td>
|
|
<td><input name="crawlingDepth" id="crawlingDepth" type="text" size="2" maxlength="2" value="#[crawlingDepth]#" /></td>
|
|
<td>
|
|
This defines how often the Crawler will follow links embedded in websites.<br />
|
|
A minimum of 0 is recommended and means that the page you enter under "Starting Point" will be added
|
|
to the index, but no linked content is indexed. 2-4 is good for normal indexing.
|
|
Be careful with the depth. Consider a branching factor of average 20;
|
|
A prefetch-depth of 8 would index 25.600.000.000 pages, maybe this is the whole WWW.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="crawlingFilter">Crawling Filter</label>:</td>
|
|
<td><input name="crawlingFilter" id="crawlingFilter" type="text" size="20" maxlength="100" value="#[crawlingFilter]#" /></td>
|
|
<td>
|
|
This is an emacs-like regular expression that must match with the URLs which are used to be crawled.
|
|
Use this i.e. to crawl a single domain. If you set this filter it makes sense to increase
|
|
the crawling depth.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td>Re-Crawl Option:</td>
|
|
<td>
|
|
<label for="crawlingIfOlderChecked">Use</label>:
|
|
<input type="checkbox" name="crawlingIfOlderCheck" id="crawlingIfOlderChecked" #(crawlingIfOlderCheck)#::checked="checked"#(/crawlingIfOlderCheck)# />
|
|
<label for="crawlingIfOlderNumber">Interval</label>:
|
|
<input name="crawlingIfOlderNumber" id="crawlingIfOlderNumber" type="text" size="7" maxlength="7" value="#[crawlingIfOlderNumber]#" />
|
|
<select name="crawlingIfOlderUnit">
|
|
<option value="year" #(crawlingIfOlderUnitYearCheck)#::selected="selected"#(/crawlingIfOlderUnitYearCheck)#>Year(s)</option>
|
|
<option value="month" #(crawlingIfOlderUnitMonthCheck)#::selected="selected"#(/crawlingIfOlderUnitMonthCheck)#>Month(s)</option>
|
|
<option value="day" #(crawlingIfOlderUnitDayCheck)#::selected="selected"#(/crawlingIfOlderUnitDayCheck)#>Day(s)</option>
|
|
<option value="hour" #(crawlingIfOlderUnitHourCheck)#::selected="selected"#(/crawlingIfOlderUnitHourCheck)#>Hour(s)</option>
|
|
<option value="minute" #(crawlingIfOlderUnitMinuteCheck)#::selected="selected"#(/crawlingIfOlderUnitMinuteCheck)#>Minute(s)</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
If you use this option, web pages that are already existent in your database are crawled and indexed again.
|
|
It depends on the age of the last crawl if this is done or not: if the last crawl is older than the given
|
|
date, the page is crawled again, otherwise it is treated as 'double' and not loaded or indexed again.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Auto-Dom-Filter:</td>
|
|
<td>
|
|
<label for="crawlingDomFilterCheck">Use</label>:
|
|
<input type="checkbox" name="crawlingDomFilterCheck" id="crawlingDomFilterCheck" #(crawlingDomFilterCheck)#::checked="checked"#(/crawlingDomFilterCheck)# />
|
|
<label for="crawlingDomFilterDepth">Depth</label>:
|
|
<input name="crawlingDomFilterDepth" id="crawlingDomFilterDepth" type="text" size="2" maxlength="2" value="#[crawlingDomFilterDepth]#" />
|
|
</td>
|
|
<td>
|
|
This option will automatically create a domain-filter which limits the crawl on domains the crawler
|
|
will find on the given depth. You can use this option i.e. to crawl a page with bookmarks while
|
|
restricting the crawl on only those domains that appear on the bookmark-page. The adequate depth
|
|
for this example would be 1.<br />
|
|
The default value 0 gives no restrictions.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td>Maximum Pages per Domain:</td>
|
|
<td>
|
|
<label for="crawlingDomMaxCheck">Use</label>:
|
|
<input type="checkbox" name="crawlingDomMaxCheck" id="crawlingDomMaxCheck" #(crawlingDomMaxCheck)#::checked="checked"#(/crawlingDomMaxCheck)# />
|
|
<label for="crawlingDomMaxPages">Page-Count</label>:
|
|
<input name="crawlingDomMaxPages" id="crawlingDomMaxPages" type="text" size="6" maxlength="6" value="#[crawlingDomMaxPages]#" />
|
|
</td>
|
|
<td>
|
|
You can limit the maxmimum number of pages that are fetched and indexed from a single domain with this option.
|
|
You can combine this limitation with the 'Auto-Dom-Filter', so that the limit is applied to all the domains within
|
|
the given depth. Domains outside the given depth are then sorted-out anyway.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="crawlingQ">Accept URLs with '?' / dynamic URLs</label>:</td>
|
|
<td><input type="checkbox" name="crawlingQ" id="crawlingQ" #(crawlingQChecked)#::checked="checked"#(/crawlingQChecked)# /></td>
|
|
<td>
|
|
A questionmark is usually a hint for a dynamic page. URLs pointing to dynamic content should usually not be crawled. However, there are sometimes web pages with static content that
|
|
is accessed with URLs containing question marks. If you are unsure, do not check this to avoid crawl loops.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td><label for="storeHTCache">Store to Web Cache</label>:</td>
|
|
<td><input type="checkbox" name="storeHTCache" id="storeHTCache" #(storeHTCacheChecked)#::checked="checked"#(/storeHTCacheChecked)# /></td>
|
|
<td>
|
|
This option is used by default for proxy prefetch, but is not needed for explicit crawling.
|
|
We recommend to leave this switched off unless you want to control the crawl results with the
|
|
<a href="CacheAdmin_p.html">Cache Monitor</a>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Do Local Indexing:</td>
|
|
<td>
|
|
<label for="indexText">index text</label>:
|
|
<input type="checkbox" name="indexText" id="indexText" #(indexingTextChecked)#::checked="checked"#(/indexingTextChecked)# />
|
|
<label for="indexMedia">index media</label>:
|
|
<input type="checkbox" name="indexMedia" id="indexMedia" #(indexingMediaChecked)#::checked="checked"#(/indexingMediaChecked)# />
|
|
</td>
|
|
<td>
|
|
This enables indexing of the wepages the crawler will download. This should be switched on by default, unless you want to crawl only to fill the
|
|
<a href="CacheAdmin_p.html">Proxy Cache</a> without indexing.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td><label for="crawlOrder">Do Remote Indexing</label>:</td>
|
|
<td>
|
|
<table border="0" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<input type="checkbox" name="crawlOrder" id="crawlOrder" #(crawlOrderChecked)#::checked="checked"#(/crawlOrderChecked)# />
|
|
</td>
|
|
<td>
|
|
<label for="intention">Describe your intention to start this global crawl (optional)</label>:<br />
|
|
<input name="intention" id="intention" type="text" size="40" maxlength="100" value="" /><br />
|
|
This message will appear in the 'Other Peer Crawl Start' table of other peers.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td>
|
|
If checked, the crawler will contact other peers and use them as remote indexers for your crawl.
|
|
If you need your crawling results locally, you should switch this off.
|
|
Only senior and principal peers can initiate or receive remote crawls.
|
|
<strong>A YaCyNews message will be created to inform all peers about a global crawl</strong>,
|
|
so they can omit starting a crawl with the same start point.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="xsstopw">Exclude <em>static</em> Stop-Words</label>:</td>
|
|
<td><input type="checkbox" name="xsstopw" id="xsstopw" #(xsstopwChecked)#::checked="checked"#(/xsstopwChecked)# /></td>
|
|
<td>
|
|
This can be useful to circumvent that extremely common words are added to the database, i.e. "the", "he", "she", "it"... To exclude all words given in the file <tt>yacy.stopwords</tt> from indexing,
|
|
check this box.
|
|
</td>
|
|
</tr>
|
|
<!--
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Exclude <em>dynamic</em> Stop-Words</td>
|
|
<td><input type="checkbox" name="xdstopw" #(xdstopwChecked)#::checked="checked"#(/xdstopwChecked)# /></td>
|
|
<td colspan="3">
|
|
Excludes all words from indexing which are listed by statistic rules.
|
|
<em>THIS IS NOT YET FUNCTIONAL</em>
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Exclude <em>parent-indexed</em> words</td>
|
|
<td><input type="checkbox" name="xpstopw" #(xpstopwChecked)#::checked="checked"#(/xpstopwChecked)# /></td>
|
|
<td colspan="3">
|
|
Excludes all words from indexing which had been indexed in the parent web page.
|
|
<em>THIS IS NOT YET FUNCTIONAL</em>
|
|
</td>
|
|
</tr>
|
|
-->
|
|
<tr valign="top" class="TableCellLight">
|
|
<td colspan="5"><input type="submit" name="crawlingstart" value="Start New Crawl" /></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<p>
|
|
#(info)#
|
|
::
|
|
Crawling paused successfully.
|
|
::
|
|
Continue crawling.
|
|
#(/info)#
|
|
</p>
|
|
|
|
#(refreshbutton)#
|
|
::
|
|
<form action="IndexCreate_p.html" method="post" enctype="multipart/form-data">
|
|
<fieldset>
|
|
<input type="submit" name="refreshpage" value="refresh" />
|
|
</fieldset>
|
|
</form>
|
|
#(/refreshbutton)#
|
|
<form action="IndexCreate_p.html" method="post" enctype="multipart/form-data">
|
|
<fieldset>
|
|
#(crawler-paused)#
|
|
<input type="submit" name="continuecrawlqueue" value="continue crawling" />
|
|
::
|
|
<input type="submit" name="pausecrawlqueue" value="pause crawling" />
|
|
#(/crawler-paused)#
|
|
</fieldset>
|
|
</form>
|
|
|
|
<p id="crawlingStarts"><strong>Recently started remote crawls in progress:</strong></p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader">
|
|
<td><strong>Start Time</strong></td>
|
|
<td><strong>Peer Name</strong></td>
|
|
<td><strong>Start URL</strong></td>
|
|
<td><strong>Intention/Description</strong></td>
|
|
<td><strong>Depth</strong></td>
|
|
<td><strong>Accept '?' URLs</strong></td>
|
|
</tr>
|
|
#{otherCrawlStartInProgress}#
|
|
<tr class="TableCell#(dark)#Light::Dark#(/dark)#" >
|
|
<td>#[cre]#</td>
|
|
<td>#[peername]#</td>
|
|
<td><a href="#[startURL]#">#[startURL]#</a></td>
|
|
<td>#[intention]#</td>
|
|
<td>#[generalDepth]#</td>
|
|
<td>#(crawlingQ)#no::yes#(/crawlingQ)#</td>
|
|
</tr>
|
|
#{/otherCrawlStartInProgress}#
|
|
</table>
|
|
<p><strong>Recently started remote crawls, finished:</strong></p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader">
|
|
<td><strong>Start Time</strong></td>
|
|
<td><strong>Peer Name</strong></td>
|
|
<td><strong>Start URL</strong></td>
|
|
<td><strong>Intention/Description</strong></td>
|
|
<td><strong>Depth</strong></td>
|
|
<td><strong>Accept '?' URLs</strong></td>
|
|
</tr>
|
|
#{otherCrawlStartFinished}#
|
|
<tr class="TableCell#(dark)#Light::Dark#(/dark)#" >
|
|
<td>#[cre]#</td>
|
|
<td>#[peername]#</td>
|
|
<td><a href="#[startURL]#">#[startURL]#</a></td>
|
|
<td>#[intention]#</td>
|
|
<td>#[generalDepth]#</td>
|
|
<td>#(crawlingQ)#no::yes#(/crawlingQ)#</td>
|
|
</tr>
|
|
#{/otherCrawlStartFinished}#
|
|
</table>
|
|
<p id="remoteCrawlPeers"><strong>Remote Crawling Peers:</strong> </p>
|
|
#(remoteCrawlPeers)#
|
|
<p>No remote crawl peers available.</p>
|
|
::
|
|
<p>#[num]# peers available for remote crawling.</p>
|
|
<table border="0" cellpadding="2" cellspacing="1">
|
|
<colgroup>
|
|
<col width="60" />
|
|
<col />
|
|
</colgroup>
|
|
<tr class="TableCellDark">
|
|
<th>Idle Peers</th>
|
|
<td>
|
|
#{available}##[name]# (#[due]# seconds due) #{/available}#
|
|
</td>
|
|
</tr>
|
|
<tr class="TableCellLight">
|
|
<th>Busy Peers</th>
|
|
<td>
|
|
#{busy}##[name]# (#[due]# seconds due) #{/busy}#
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
#(/remoteCrawlPeers)#
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|