%STARTINCLUDE%<div class="clsTagEditor"><noautolink> <input type="text" class="foswikiInputField jqTextboxList {autocomplete:'%SCRIPTURL{"rest"}%/RenderPlugin/template?topic=%THEWEB{default="%BASEWEB%"}%.%THETOPIC{default="%BASETOPIC%"}%;name=classificationplugin;expand=querytags'}" name="%NAME%" id="%NAME%" size="%SIZE%" value="%VALUE{default=""}%" /> %IF{"context SolrPluginEnabled" then="$percntDBCALL{\"%WEB%.%TOPIC%\" section=\"tagsuggestion\"}$percnt"}% </noautolink></div>%STOPINCLUDE%
%STARTSECTION{"tagsuggestion"}%<!-- --> %FORMATLIST{ "%SOLRSIMILAR{ "id:%THEWEB{default="%BASEWEB%"}%.%THETOPIC{default="%BASETOPIC%"}%" like="category,tag" facets="tag" facetlimit="20" facetmincount="5" mindocumentfrequency="10" rows="0" filter="type:topic web:%THEWEB{default="%BASEWEB%"}%" format_tag="$key=$count" separator_tag="," }%" exclude="%FORMATLIST{"%VALUE%" split="\s*,\s*" format="\b($1=\d+)\b" separator="|" replace="-=\-,\[=\\[,\]=\\]"}%" split="\s*,\s*" pattern="(.*)=(.*)" header="$n$n<hr />$n$n<h3>%MAKETEXT{"Related tags"}%:</h3><ol>" format="<li><a class='clsTagSuggestion' href='#'>$1</a> <span class='foswikiGrayText'>... %MAKETEXT{"found in [_1] other topic(s)" args="$2"}%</span> </li>" footer="</ol>" separator="$n" }% <!-- -->%ENDSECTION{"tagsuggestion"}%
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.