mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-09-03 15:26:13 -04:00
73 lines
3.8 KiB
HTML
73 lines
3.8 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
|
|
<!-- This page is only XHTML 1.0 Transitional because target is being used in a links -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
#(reload)#::<meta http-equiv="REFRESH" content="5; url=/IndexExport_p.html">#(/reload)#
|
|
<head>
|
|
<title>YaCy '#[clientname]#': URL Database Administration</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body id="IndexControl">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuIndexImport.template%#
|
|
|
|
<h2>Index Export</h2>
|
|
<p>The local index currently contains #[ucount]# documents, only #[ucount200]# exportable with status code 200 - the remaining are error documents.</p>
|
|
|
|
#(lurlexport)#::
|
|
<form action="IndexExport_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
<fieldset><legend>Loaded URL Export</legend>
|
|
<dl>
|
|
<dt class="TableCellDark">Export Path</dt>
|
|
<dd><input type="text" name="exportfilepath" value="#[exportfilepath]#" size="120" maxlength="250" />
|
|
</dd>
|
|
<dt class="TableCellDark">URL Filter</dt>
|
|
<dd><input type="text" name="exportfilter" value=".*.*" size="20" maxlength="250" /> .*.* (default) is a catch-all; format: java regex
|
|
</dd>
|
|
<dt class="TableCellDark">query</dt>
|
|
<dd><input type="text" name="exportquery" value="*:*" size="20" maxlength="250" /> *:* (default) is a catch-all; format: <field-name>:<solr-pattern>
|
|
</dd>
|
|
<dt class="TableCellDark">maximum age (seconds)</dt>
|
|
<dd><input type="text" name="exportmaxseconds" value="-1" size="20" maxlength="250" /> -1 = unlimited -> no document is too old
|
|
</dd>
|
|
<dt class="TableCellDark">maximum number of records per chunk</dt>
|
|
<dd><input type="text" name="maxchunksize" value="-1" size="20" maxlength="250" /> if exceeded: several chunks are stored; -1 = unlimited (makes only one chunk)
|
|
</dd>
|
|
<dt class="TableCellDark">Export Size</dt>
|
|
<dd>
|
|
full size, all fields:<input type="radio" name="minified" value="no" checked="checked">
|
|
minified; only fields sku, date, title, description, text_t<input type="radio" name="minified" value="yes" >
|
|
</dd>
|
|
<dt class="TableCellDark">Export Format</dt>
|
|
<dd>
|
|
<dl>
|
|
<dt>Full URL List:</dt>
|
|
<dd><input type="radio" name="format" value="url-text" checked="checked"/> Plain Text List (URLs only)<br />
|
|
<input type="radio" name="format" value="url-html" /> HTML (URLs with title)</dd>
|
|
<dt>Only Domain:</dt>
|
|
<dd><input type="radio" name="format" value="dom-text" /> Plain Text List (domains only)<br />
|
|
<input type="radio" name="format" value="dom-html" /> HTML (domains as URLs, no title)</dd>
|
|
<dt>Only Text:</dt>
|
|
<dd><input type="radio" name="format" value="text-text" /> Fulltext of Search Index Text</dd>
|
|
</dl>
|
|
<dt> </dt>
|
|
<dd><input type="submit" name="lurlexport" value="Export" class="btn btn-primary" style="width:240px;"/>
|
|
</dd>
|
|
</dl>
|
|
</fieldset>
|
|
</form>::
|
|
<div class="alert alert-info" style="text-decoration:blink">Export to file #[exportfile]# is running .. #[urlcount]# Documents so far</div>::
|
|
#(/lurlexport)#
|
|
|
|
#(lurlexportfinished)#::
|
|
<div class="alert alert-success">Finished export of #[urlcount]# Documents to file <a href="file://#[exportfile]#" target="_">#[exportfile]#</a><br/>
|
|
<em>Import this file by moving it to DATA/PACKS/load</em></div>::
|
|
#(/lurlexportfinished)#
|
|
|
|
#(lurlexporterror)#::
|
|
<div class="alert alert-warning">Export to file #[exportfile]# failed: #[exportfailmsg]#</div>::
|
|
#(/lurlexporterror)#
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|