%{}%
%{}%
%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"}%
"GK": "GK",
"Kraemer": "Kraemer",
"Main": "Main",
"Sandbox": "Sandbox",
"Sandbox.WorkflowPluginExample": "WorkflowPluginExample",
"System": "System",
"TWiki": "TWiki",
%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}}
%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::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::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"}%%{}%
%{}%%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::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"}%%{}%