- new switch 'isFacet' which causes that the usage of the vocabulary for
search facets is enabled or disabled. This shall be used for large
vocabularies sind searched in solr are extremely slow if facets for a
large set of alternative terms are generated
- new option to disable auto-enrichment from synonyms
- new option to add synonyms from another column when importing from csv
- automatically recognize double-occurrences in synonyms and bundling
terms for such synonyms
It is possible to produce a vocabulary out of the existing search index. This is done using a given 'objectspace' which you can enter as a URL Stub.
This stub is used to find all matching URLs. If the remaining path from the matching URLs then denotes a single file, the file name is used as vocabulary term.
This works best with wikis. Try to use a wiki url as objectspace path.
<dl>
<dt>Vocabulary Name<br><i>(this will become the name of a search facet)</i></dt>
<dt>Vocabulary Name</dt>
<dd><inputtype="text"name="discovername"value=""size="78"maxlength="128"onkeydown="for (i=0; i < 6; i++) document.getElementsByName('discovermethod')[i].disabled=''"/></dd>
<dt></dt>
<dd><inputtype="checkbox"name="isFacet"checked="checked"/> this shall be a search facet (disable this for large vocabularies!)</dd>
@ -119,23 +119,31 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
from page author <inputtype="radio"name="discovermethod"value="author"disabled="disabled"onclick="document.getElementById('discoverobjectspace').disabled=''"/></dt>
<dd>
<dl>
<dt></dt>
<dd>It is possible to produce a vocabulary out of the existing search index. This is done using a given 'objectspace' which you can enter as a URL Stub.
This stub is used to find all matching URLs. If the remaining path from the matching URLs then denotes a single file, the file name is used as vocabulary term.
This works best with wikis. Try to use a wiki url as objectspace path.</dd>
<dt>Import from a csv file <inputtype="radio"name="discovermethod"value="csv"disabled="disabled"onclick="document.getElementById('discoverpath').disabled='';document.getElementById('discovercolumnliteral').disabled='';document.getElementById('discovercolumnobjectlink').disabled='';"/></dt>
<dt>Import from a csv file <inputtype="radio"name="discovermethod"value="csv"disabled="disabled"onclick="document.getElementById('discoverpath').disabled='';document.getElementById('discovercolumnliteral').disabled='';document.getElementById('discovercolumnsynonyms').disabled='';document.getElementById('discovercolumnobjectlink').disabled='';"/></dt>
<dd><inputtype="number"id="discovercolumnliteral"name="discovercolumnliteral"min="0"max="99"step="1"size="2"value="0"disabled="disabled"style="width:50px;"> (first has index 0)</dd>
<inputtype="radio"name="discoversynonymsmethod"id="discoversynonymsmethod"value="enrichsynonyms"/><i>Auto-Enrich with Synonyms from Stemming Library</i><br/>
<inputtype="number"id="discovercolumnsynonyms"name="discovercolumnsynonyms"min="-1"max="99"step="1"size="2"value="-1"style="width:50px;"> (first has index 0)
</dd>
<dt><i>Column for Object Link (optional)</i></dt>
<dd><inputtype="number"id="discovercolumnobjectlink"name="discovercolumnobjectlink"min="-1"max="99"step="1"size="2"value="-1"disabled="disabled"style="width:50px;"> (first has index 0, if unused set -1)</dd>
@ -155,6 +163,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
<dt>Predicate</dt><dd>#[predicate]#</dd>
<dt>Prefix</dt><dd>#[prefix]#</dd>
<dt>Objectspace</dt><dd>#(editable)##[objectspace]#::<inputtype="text"name="objectspace"value="#[objectspace]#"size="78"maxlength="128"/><br/>if set, uses the predicate <ahref="#[objectspacepredicate]#"target="_blank">#[objectspacepredicate]#</a> for generated objects. Hint: use 'http://dbpedia.org/resource/' as default.#(/editable)#</dd>
<dt>Is Facet?</dt><dd><inputtype="checkbox"name="isFacet"#(isFacet)#::checked="checked"#(/isFacet)#/> (If checked, this vocabulary is used for search facets. Not feasible for large vocabularies!)</dd>