<inputtype="submit"name="discoverosd"id="discoverosd"value="discover from index"class="submitready"onclick="return confirm('start background task, depending on index size this may run a long time')"/>
</div>
With the button "discover from index" you can search within the metadata of your local index to find systems which support the Opensearch specification.
With the button "discover from index" you can search within the metadata of your local index (Web Structure Index) to find systems which support the Opensearch specification.
The task is started in the background. It may take some minutes before new entries appear (after refreshing the page).
Alternatively you may <ahref="?copydefaultosdconfig=">copy & paste a example config file</a> located in <i>defaults/heuristicopensearch.conf</i> to the DATA/SETTINGS directory.
For the discover function the field <i>outboundlinks_tag_txt</i> (and <i>inboundlinks_tag_txt</i>) has to be switched on in the <ahref="IndexSchema_p.html">Solr Schema</a>.
For the discover function the <i>web graph</i> option of the web structure index and the fields <i>target_rel_s, target_protocol_s, target_urlstub_s</i> have to be switched on in the <ahref="IndexSchema_p.html?core=webgraph">webgraph Solr schema</a>.
Log.logWarning("OpenSearchConnector.Discover","webgraph option and webgraph Schema fields target_rel_s, target_protocol_s and target_urlstub_s must be switched on");
returnfalse;
}
// the solr query
finalStringsolrquerystr=CollectionSchema.outboundlinks_tag_txt.getSolrFieldName()+":\"rel=\\\"search\\\"\" OR "