%{ ########################################################################### template inheritance and general presets }% %TMPL:INCLUDE{"view"}%

%{ ########################################################################### customization section }% %TMPL:DEF{"solr::defaultweb"}%all%TMPL:END% %TMPL:DEF{"solr::instantsearch"}%false%TMPL:END% %TMPL:DEF{"solr::instantsearch::delay"}%1000%TMPL:END% %TMPL:DEF{"solr::defaultexactsearch"}%false%TMPL:END% %TMPL:DEF{"solr::defaulttopicsearch"}%false%TMPL:END% %TMPL:DEF{"solr::defaultrows"}%10%TMPL:END% %TMPL:DEF{"solr::defaultquerytype"}%edismax%TMPL:END% %TMPL:DEF{"solr::defaultsort"}%score desc%TMPL:END% %TMPL:DEF{"solr::dateformat"}%dddd, Do MMMM YYYY, HH:mm%TMPL:END% %TMPL:DEF{"solr::fields"}%score%TMPL:END% %TMPL:DEF{"DISsolr::score"}%
score: {{:score}}
%TMPL:END% %TMPL:DEF{"solr::trashweb"}%Trash%TMPL:END% %TMPL:DEF{"solr::archiveweb"}%Archive%TMPL:END% %TMPL:DEF{"solr::queryfields"}%%TMPL:END% %TMPL:DEF{"solr::extrafilter"}% -web_search:Applications%TMPL:END% %TMPL:DEF{"solr::exactsearch"}%title_std^7 catchall^0.5%TMPL:END% %TMPL:DEF{"solr::facet::include::web"}%%TMPL:END% %TMPL:DEF{"solr::facet::exclude::web"}%^(_.*|Application.*)$%TMPL:END% %TMPL:DEF{"solr::params"}%"topic": "System.SolrSearchBaseTemplate", "qt":"", "rows": , "qf": ""%TMPL:END%

%{ ###########################################################################
content
main definition that puts together all pieces
}% %TMPL:DEF{"content"}% %{}% %{}% %TMPL:END%

%{ ########################################################################### solr::assets - css and js to be added to the html head }% %TMPL:DEF{"solr::assets"}%%{}% %TMPL:END%

%{ ########################################################################### solr::dictionary - defines a set of keys to be displayed using a different lable }% %TMPL:DEF{"solr::dictionary"}%
{ }
%TMPL:END%

%TMPL:DEF{"solr::dictionary::content"}%

"":"" %TMPL:END%

%TMPL:DEF{"solr::dictionary::misc"}% "keyword": "keyword", "tag": "tag", "webcat": "Category", "web_search": "Web", "field_TopicType_first_s": "Type", %TMPL:END%

%TMPL:DEF{"solr::dictionary::languages"}% "ar":"Arabic", "bg":"Bulgarian", "ca":"Catalan", "ckb":"Kurdish", "cjk":"Japanese", "cz":"Czech", "da":"Danish", "de":"German", "el":"Greek", "en":"English", "es":"Spanish", "fa":"Persian", "fi":"Finnish", "fr":"French", "ga":"Irish", "gl":"Galician", "hi":"Hindi", "hu":"Hungarian", "hy":"Armenian", "id":"Indonesian", "it":"Italian", "ja":"Japanese", "ko":"Korean", "lv":"Latvian", "nl":"Dutch", "no":"Norwegian", "pl":"Polish", "pt-br":"Portuguese", "pt":"Portuguese", "ro":"Romanian", "ru":"Russian", "sv":"Swedish", "tr":"Turkish", "uk":"Ukrainian", "zh-cn":"Chinese", "zh-tw":"Chinese", %TMPL:END%

%TMPL:DEF{"solr::dictionary::webs"}% "Applications": "Applications", "Applications.BlogApp": "Blog-App", "Applications.ClassificationApp": "ClassificationApp", "Argumente": "Argumente", "Blog": "Beats Weblog", "Cyberhome": "Cyberhome", "Digital": "Beat Döbeli Honegger", "FLEXWEBLIST{format="$web=WebHome","}": "%22WebHome%22%2c%22%7d" type="quote"}%", "Fachgruppe": "Fachgruppe", "Journalclub": "Journalclub'Medien und Informatik'", "Main": "arbeitsgruppe.ch", "Mundi": "Arbeitsgruppe 'Medien und Informatik'", "Sandbox": "Sandbox", "System": "System", "Wiki": "Wiki", %TMPL:END%

%{ ########################################################################### solr::templates - defines all jquery.tmpl templates required }% %TMPL:DEF{"solr::templates"}%%{}%

%{}%%TMPL:END%

%{ ########################################################################### solr::templates::hits - defines all jquery.tmpl templates to render search hits of different types. each type has got a …:: sup-template that is customized to that type. }% %TMPL:DEF{"solr::templates::hits"}%%{}% %{}% %{}% %{}% %{}% %{}% %{}% %{}% %{}% %{}% %{}% %{}% %TMPL:END%

%TMPL:DEF{"solr::thumbnail"}% {{if thumbnail}}
{{if thumbnail.startsWith("http")}} :xa {{:name}} {{else}} {{if thumbnail.endsWith(".svg")}} {{:name}} {{else}} {{:name}} {{/if}} {{/if}}
{{/if}} %TMPL:END%

%TMPL:DEF{"solr::templates::hits::CategorizedTopic"}%%TMPL:END% %TMPL:DEF{"solr::templates::hits::TaggedTopic"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::ClassifiedTopic::impl"}%

{{:~getIcon(icon)}} {{:title}} in {{:container_title}}

{{:summary}}
{{:~formatDate(date,'')}}, {{:author_title}}
{{:~getHilite(id)}}
{{:~renderTopicInfo()}}

%TMPL:END%

%TMPL:DEF{"solr::templates::hits::topic"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::image"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::comment"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::listy"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::attachment"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::metadata"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::file"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hits::misc"}%%TMPL:END%

%TMPL:DEF{"solr::templates::facetfield"}%%TMPL:END%

%TMPL:DEF{"solr::templates::currentselection"}%%TMPL:END%

%TMPL:DEF{"solr::templates::togglefacet"}%%TMPL:END%

%TMPL:DEF{"solr::templates::toggle"}%%TMPL:END%

%TMPL:DEF{"solr::templates::tagcloud"}%%TMPL:END%

%TMPL:DEF{"solr::templates::hierarchy"}%%TMPL:END%

%TMPL:DEF{"solr::templates::resultsperpage"}%%TMPL:END%

%TMPL:DEF{"solr::counter"}%
{{if count > 0}} Results {{:from}} - {{:to}} of {{:count}} {{else}} nothing found {{/if}}
%TMPL:END%

%TMPL:DEF{"solr::sortby"}%
Sort by:
%TMPL:END%

%TMPL:DEF{"solr::sortby::options"}% %TMPL:END%

%TMPL:DEF{"solr::pagelength"}%
Results per page:
%TMPL:END%

%TMPL:DEF{"solr::pagelength::options"}% %TMPL:END%

%TMPL:DEF{"solr::templates::spellcorrection"}%%TMPL:END%

%{ ########################################################################### solr::header - header to be put infront of the search hits. this provides the containers for spellcheck corrections, pagination, counters and the like. It also calls the "solr::searchform" to display the search input field. }% %TMPL:DEF{"solr::header"}%

%TMPL:END%

%TMPL:DEF{"solr::spellchecker"}%
%TMPL:END% %TMPL:DEF{"solr::resultsperpage"}%
%TMPL:END% %TMPL:DEF{"solr::pager"}%
%TMPL:END% %TMPL:DEF{"solr::footer"}%
%TMPL:END%

%{ ########################################################################### solr::searchform - this calls the separate steps comprising the form steps. this macro can be redefined to include more steps as needed. }% %TMPL:DEF{"solr::searchform"}%%{}%

%{}%

%{}%%TMPL:END%

%{ ########################################################################### solr::formstart - beginning of the solr::searchform. contains the starting form }% %TMPL:DEF{"solr::formstart"}%%{}%
%{}%%TMPL:END%

%{ ########################################################################### solr::inputstep - this is a part of the solr::searchform defining the actual input field }% %TMPL:DEF{"solr::inputstep"}%%{}% %{}%%TMPL:END%

%{ ########################################################################### solr::formend - closing markup of the solr::searchform }% %TMPL:DEF{"solr::formend"}%%{}%
%{}%%TMPL:END%

%{ ###########################################################################
solr::sidebar
this hooks into the skin to display all sidebar facets. the topmost widget is the "your selection" area displaying a summary of the current filters followed by the list of facets. Each facet is displayed calling the "facet" macro
}% %TMPL:DEF{"solr::sidebar"}%%{}%

%TMPL:END%

%{ ###########################################################################
solr::facets
list of all facets as displayed in the sidebar
}% %TMPL:DEF{"solr::facets"}%%{}%

%{}%

%{}%%TMPL:END%

%{ ########################################################################### solr::facet - format a facet for the given field id

Parameters:
    • id - the field name of the facet, e.g. category, author
    • title - the heading
    • multivalue - boolean
    • union - boolean
    • exclusion - boolean
    • sort - count or title
    • reverse - boolean
    • exclude - count or title
    • include - count or title
    • mincount - lower boundary for facet values to display
    • hidesingle - boolean
    • hidenullvalues - boolean
    • hidefilter - boolean
    • initialstate - boolean: open (default)/ close
    • limit - max number of facet values to return
}% %TMPL:DEF{"solr::facet"}%

%title%

%TMPL:END%

%{ ########################################################################### solr::facetquery - format a facet query

Parameters
  • id - the field name
  • title - the heading
  • queries - json object of the form [ {"key":"some label", "value": "some query"}, ...]
  • multivalue - boolean
  • union - boolean
  • exclusion - boolean
}% %TMPL:DEF{"solr::facetquery"}%
%queries%

%title%

%TMPL:END%

%{ ########################################################################### solr::facetrange - renders a range facet

Parameters:
    • id - the field name
    • title - the heading
    • start - start of range
    • end - end of range
    • gap - increment from start to end
    • other - TODO: look up solr docu
    • include - TODO: look up solr docu
    • dateformat - format string used when the facet goes over a date range
    • hidesingle - boolean
    • sort - count or title
    • reverse - boolean
}% %TMPL:DEF{"solr::facetrange"}%

%title%

%TMPL:END%

%{ ########################################################################### solr::selection - renders the "your selection" part in the solr::sidebar }% %TMPL:DEF{"solr::selection"}%%{}%

Your selection:

  • (none)
Clear
%{}%%TMPL:END%

%{ ########################################################################### solr::hits - display all search hits }% %TMPL:DEF{"solr::hits"}%
%TMPL:END%

%{ ###########################################################################
solr::settings
configuration of the search
}% %TMPL:DEF{"solr::settings"}%%{}%

Settings

    %{}%%TMPL:END%

    %TMPL:DEF{"solr::settings::checkboxes"}%%{}% %{}% %{}% %{}% %{}% %{}% %{}% %{}%%TMPL:END%

    %{ ########################################################################### solr::checkbox::incurrentweb - display a "In current web" checkbox }% %TMPL:DEF{"solr::checkbox::incurrentweb"}%
  • %TMPL:END%

    %{ ########################################################################### solr::checkbox::inallwebs - display a "In all webs" checkbox }% %TMPL:DEF{"solr::checkbox::inallwebs"}%
  • %TMPL:END%

    %{ ########################################################################### solr::checkbox::intrashwebs - toggle searching in trash webs only }% %TMPL:DEF{"solr::checkbox::intrashwebs"}%
  • %TMPL:END%

    %{ ########################################################################### solr::checkbox::inarchive - toggle searching in archive webs only }% %TMPL:DEF{"solr::checkbox::inarchive"}%
  • %TMPL:END%

    %{ ########################################################################### solr::checkbox::inmycontribs - display a "In my contribs" checkbox }% %TMPL:DEF{"solr::checkbox::inmycontribs"}%
  • %TMPL:END%

    %{ ########################################################################### solr::checkbox::topicsearch - display a "Topic search" checkbox }% %TMPL:DEF{"solr::checkbox::topicsearch"}%
  • %TMPL:END%

    %{ ########################################################################### solr::checkbox::exactsearch - display a "Exact Search" checkbox }% %TMPL:DEF{"solr::checkbox::exactsearch"}%
  • %TMPL:END%

    %{ ########################################################################### solr::tagcloudstep - part of the solr::searchform. this contains the tagcloud facet }% %TMPL:DEF{"solr::tagcloudstep"}%%{}% %TMPL:END%

    %{ ########################################################################### solr::hierarchystep - part of the solr::searchform. this contains the category list }% %TMPL:DEF{"solr::hierarchystep"}%%{}%
    You are here:
      %TMPL:END%
      This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
      Ideas, requests, problems regarding arbeitsgruppe.ch? Send feedback