As discussed in PR #93 with @JeremyRand and @reger24 this new advanced settings page includes: - a new setting to control remote Solr responses encoding - some existing debug settings which could not be set through the admin user interfacepull/108/head
parent
526f2d6a8b
commit
1857651988
@ -0,0 +1,125 @@
|
||||
<h3>Debug/Analysis Settings</h3>
|
||||
|
||||
<div class="alert alert-warning" role="alert">
|
||||
Be careful with these advanced settings, they can deeply affect the search process! You probably don't need to modify them for normal use.
|
||||
</div>
|
||||
|
||||
<form action="SettingsAck_p.html" method="post" enctype="multipart/form-data" class="form-horizontal">
|
||||
<fieldset>
|
||||
<legend>Solr communication</legend>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="solrBinaryResponse" id="solrBinaryResponse"
|
||||
type="checkbox" #(solrBinaryResponseChecked)#::checked#(/solrBinaryResponseChecked)#
|
||||
aria-describedby="solrBinaryResponseInfo"/>
|
||||
Enable remote Solr binary responses
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8" id="solrBinaryResponseInfo">
|
||||
When checked (default), responses from remote Solr index instances are transfered using an efficient binary data format.
|
||||
When unchecked, responses are transferred as <abbr title="Extensible Markup Language">XML</abbr>,
|
||||
which can be captured and parsed by any external XML aware tool for debug/analysis.
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Search data sources</legend>
|
||||
<p>By default all data sources are enabled to obtain search results,
|
||||
but you can here disable one or more ones to check the behavior of the process.</p>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="searchLocalDHT" id="searchLocalDHT"
|
||||
type="checkbox" #(searchLocalDHTChecked)#::checked#(/searchLocalDHTChecked)# />
|
||||
Local <abbr title="Distributed Hash Table">DHT</abbr>/<abbr title="Reverse Word Index">RWI</abbr>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="searchLocalSolr" id="searchLocalSolr"
|
||||
type="checkbox" #(searchLocalSolrChecked)#::checked#(/searchLocalSolrChecked)# />
|
||||
Local Solr index
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="searchRemoteDHT" id="searchRemoteDHT"
|
||||
type="checkbox" #(searchRemoteDHTChecked)#::checked#(/searchRemoteDHTChecked)# />
|
||||
Remote <abbr title="Distributed Hash Table">DHT</abbr>/<abbr title="Reverse Word Index">RWI</abbr>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="searchRemoteSolr" id="searchRemoteSolr"
|
||||
type="checkbox" #(searchRemoteSolrChecked)#::checked#(/searchRemoteSolrChecked)# />
|
||||
Remote Solr indexes
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Search testing tweaks</legend>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="searchTestLocalDHT" id="searchTestLocalDHT"
|
||||
type="checkbox" #(searchTestLocalDHTChecked)#::checked#(/searchTestLocalDHTChecked)#
|
||||
aria-describedby="searchTestLocalDHTInfo"/>
|
||||
Override <abbr title="Distributed Hash Table">DHT</abbr> peers selection by local only
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8" id="searchTestLocalDHTInfo">
|
||||
When checked, the remote <abbr title="Distributed Hash Table">DHT</abbr> peers selection is overriden and only the local peer is selected to provide remote DHT search results.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-4">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="searchTestLocalSolr" id="searchTestLocalSolr"
|
||||
type="checkbox" #(searchTestLocalSolrChecked)#::checked#(/searchTestLocalSolrChecked)#
|
||||
aria-describedby="searchTestLocalSolrInfo"/>
|
||||
Override Solr peers selection by local only
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8" id="searchTestLocalSolrInfo">
|
||||
When checked, the remote Solr peers selection is overriden and only this peer is selected to provide remote Solr search results.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<input type="submit" class="btn btn-primary" name="debugAnalysisSettings" value="Submit" aria-describedby="submitInfo"/>
|
||||
<em id="submitInfo">Changes will take effect immediately.</em>
|
||||
</div>
|
||||
</form>
|
Loading…
Reference in new issue