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.
103 lines
5.7 KiB
103 lines
5.7 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]#': Federated Index</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body id="IndexFederated_p">
|
|
<div id="api">
|
|
<a href="/api/schema.xml">
|
|
<img src="env/grafics/api.png" width="60" height="40" alt="API" /></a>
|
|
<span>The solr schema can also be retrieved as xml here. Click the API icon to see the xml. Just copy this xml to solr/conf/schema.xml to configure solr.</span>
|
|
</div>
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuIndexControl.template%#
|
|
<h2>Federated Index</h2>
|
|
<p>
|
|
YaCy supports multiple index storage locations. At this time only the YaCy-internal search index can be used for the YaCy search interface
|
|
A Solr index storage location is optional. The local index storage location can be disabled.
|
|
</p>
|
|
|
|
<form action="IndexFederated_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
|
|
<fieldset>
|
|
<legend>
|
|
Local Search Index
|
|
</legend>
|
|
This is a switchboard for the usage of embedded metadata to embedded solr.
|
|
The rwi index is necessary for index transmission and shall be switched off in future portalmode configurations.
|
|
<dl>
|
|
<dt><input type="checkbox" name="core.service.fulltext" id="core.service.fulltext" #(core.service.fulltext.checked)#:: checked="checked"#(/core.service.fulltext.checked)# /></dt><dd>url metadata and embedded solr fulltext search index, interface at: <a href="/solr/select?q=*:*&start=0&rows=10" target="_blank">/solr/select?q=*:*&start=0&rows=10</a></dd>
|
|
<dt><input type="checkbox" name="core.service.rwi.tmp" id="core.service.rwi" #(core.service.rwi.tmp.checked)#:: checked="checked"#(/core.service.rwi.tmp.checked)# /></dt><dd>embedded 'classic' rwi index</dd>
|
|
<dt><input type="checkbox" name="core.service.citation.tmp" id="core.service.citation" #(core.service.citation.tmp.checked)#:: checked="checked"#(/core.service.citation.tmp.checked)# /></dt><dd>embedded citation reference index (link structure, used for ranking)</dd>
|
|
<dt></dt><dd><input type="submit" name="set" value="Set" /></dd>
|
|
</dl>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>
|
|
<input type="checkbox" name="solr.indexing.solrremote" id="solr.indexing.solrremote" #(solr.indexing.solrremote.checked)#:: checked="checked"#(/solr.indexing.solrremote.checked)# />
|
|
<label for="p2p">Remote Solr Search Index</label>
|
|
</legend>
|
|
|
|
<div align="left">
|
|
<dl>
|
|
#(table)#::
|
|
<dt class="TableCellDark">Solr Hosts</dt>
|
|
<dd>
|
|
<div>
|
|
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td><strong>Solr Host Administration Interface</strong><br/></td>
|
|
<td><strong>Index Size</strong></td>
|
|
</tr>
|
|
#{list}#
|
|
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
|
|
<td><a href="#[url]#" target="_blank">#[url]#</a></td>
|
|
<td align="right">#[size]#</td>
|
|
</tr>
|
|
#{/list}#
|
|
</table>
|
|
</div>
|
|
</dd>
|
|
#(/table)#
|
|
<dt class="TableCellDark">Solr URL(s)</dt>
|
|
<dd><textarea rows="2" cols="80" name="solr.indexing.url" id="solr.indexing.url"/>#[solr.indexing.url]#</textarea><br/>
|
|
You can set one or more Solr targets here which are accessed as a shard. For several targets, list them using a ',' (comma) as separator.</dd>
|
|
<dt class="TableCellDark">Commit-Within (milliseconds)</dt>
|
|
<dd><input type="text" size="6" maxlength="6" value="#[solr.indexing.commitWithinMs]#" name="solr.indexing.commitWithinMs" id="solr.indexing.commitWithinMs"/> (increase this value to i.e. 180000 - 3 minutes - for more performance)</dd>
|
|
<dt class="TableCellDark">Lazy Value Initialization</dt>
|
|
<dd><input type="checkbox" name="solr.indexing.lazy" id="solr.indexing.lazy" #(solr.indexing.lazy.checked)#:: checked="checked"#(/solr.indexing.lazy.checked)# /> (if checked, only non-zero values and non-empty strings are written)</dd>
|
|
<dt class="TableCellDark">Sharding Method</dt>
|
|
<dd><input type="text" size="50" maxlength="50" value="#[solr.indexing.sharding]#" name="solr.indexing.sharding" id="solr.indexing.sharding" disabled="disabled"/></dd>
|
|
<dt class="TableCellDark">Scheme</dt>
|
|
<dd><input type="text" size="50" maxlength="50" value="#[solr.indexing.schemefile]#" name="solr.indexing.schemefile" id="solr.indexing.schemefile" disabled="disabled"/></dd>
|
|
<dt></dt><dd><input type="submit" name="set" value="Set" /></dd>
|
|
</dl>
|
|
</div>
|
|
<div>
|
|
<h3>Index Scheme</h3><p>If you use a custom Solr schema you may enter a different field name in the column 'Custom Solr Field Name' of the YaCy default attribute name</p>
|
|
<table class="sortable" border="0" cellpadding="2" cellspacing="1">
|
|
<tr class="TableHeader" valign="bottom">
|
|
<td>Active</td>
|
|
<td>Attribute</td>
|
|
<td>Custom Solr Field Name</td>
|
|
<td>Comment</td>
|
|
</tr>
|
|
#{scheme}#
|
|
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
|
|
<td align="center"><input type="checkbox" name="scheme_#[key]#" value="checked" #(checked)#::checked="checked"#(/checked)#/></td>
|
|
<td align="left">#[key]#</td>
|
|
<td align="left"><input type="text" name="scheme_solrfieldname_#[key]#" value="#[solrfieldname]#"/></td>
|
|
<td align="left">#[comment]#</td>
|
|
</tr>
|
|
#{/scheme}#
|
|
</table>
|
|
</div>
|
|
</fieldset>
|
|
<input type="submit" name="set" value="Set" />
|
|
</form>
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|