<commit_before><div class="row" ng-controller="SearchCtrl">
	
	<!-- Loading-Icon -->
	<div ng-hide="resultSize >= 0">
		<div class="loading"></div>
	</div>

	<!-- Meldung für leeres Suchergebnis -->
	<div ng-if="resultSize == 0 && !error">
		<div class="row">
			<div class="col-md-8 col-md-offset-2 text-center">
				Keine Ergebnisse zu <b>"{{q}}"</b>
				<span ng-if="currentQuery.hasFacets()">
					mit den aktuellen Filtern
				</span>
				gefunden.
			</div>
		</div>
	</div>

	<!-- Linke Spalte -->
	<div class="col-md-2 col-sm-3" ng-if="resultSize">
		<div>
			<small class="text-muted">
				Insgesamt <b>{{ resultSize|number }}</b> Ergebnis<span ng-show="resultSize > 1">se</span>
				<span ng-show="numPages > 1"><br> auf <b>{{numPages|number}}</b> Seiten</span>
			</small>
		</div>
		<small>

			<h5 class="text-muted uppercase"><b>Aktuelle Suche</b></h5>
			<form ng-if="!currentQuery.label" ng-submit="go('/search/' + currentQuery.setParam('q',q).toString())">
				<input type="text" class="form-control" ng-model="q">
			</form>
			<button ng-if="currentQuery.label" type="button" class="btn btn-sm btn-block btn-info" style="white-space:normal;" disabled="disabled">
			    <b>{{currentQuery.label}}</b>
			</button>

			<div ar-active-facets route="search" current-query="currentQuery"></div>

			<h5 class="text-muted uppercase" ng-hide="resultSize < 2"><b>Filter</b></h5>
			<div ng-hide="resultSize < 2"
					ng-repeat="facet in facets"
					class="panel panel-default facet">
				<div class="panel-heading" ng-click="facet.open = !facet.open" style="padding-left:10px">
					<h5 class="panel-title">
						<span class="glyphicon glyphicon-chevron-down" ng-hide="facet.open" style="color:silver"></span>
						<span class="glyphicon glyphicon-chevron-up" ng-show="facet.open" style="color:silver"></span>	
						&nbsp;{{facet.name | i18n }}
					</h5><commit_msg>ignore facets without values (closes #1607)<commit_after><div class="row" ng-controller="SearchCtrl">
	
	<!-- Loading-Icon -->
	<div ng-hide="resultSize >= 0">
		<div class="loading"></div>
	</div>

	<!-- Meldung für leeres Suchergebnis -->
	<div ng-if="resultSize == 0 && !error">
		<div class="row">
			<div class="col-md-8 col-md-offset-2 text-center">
				Keine Ergebnisse zu <b>"{{q}}"</b>
				<span ng-if="currentQuery.hasFacets()">
					mit den aktuellen Filtern
				</span>
				gefunden.
			</div>
		</div>
	</div>

	<!-- <NAME>alte -->
	<div class="col-md-2 col-sm-3" ng-if="resultSize">
		<div>
			<small class="text-muted">
				Insgesamt <b>{{ resultSize|number }}</b> Ergebnis<span ng-show="resultSize > 1">se</span>
				<span ng-show="numPages > 1"><br> auf <b>{{numPages|number}}</b> Seiten</span>
			</small>
		</div>
		<small>

			<h5 class="text-muted uppercase"><b>Aktuelle Suche</b></h5>
			<form ng-if="!currentQuery.label" ng-submit="go('/search/' + currentQuery.setParam('q',q).toString())">
				<input type="text" class="form-control" ng-model="q">
			</form>
			<button ng-if="currentQuery.label" type="button" class="btn btn-sm btn-block btn-info" style="white-space:normal;" disabled="disabled">
			    <b>{{currentQuery.label}}</b>
			</button>

			<div ar-active-facets route="search" current-query="currentQuery"></div>

			<h5 class="text-muted uppercase" ng-hide="resultSize < 2"><b>Filter</b></h5>
			<div ng-if="facet.values" ng-hide="resultSize < 2"
					ng-repeat="facet in facets"
					class="panel panel-default facet">
				<div class="panel-heading" ng-click="facet.open = !facet.open" style="padding-left:10px">
					<h5 class="panel-title">
						<span class="glyphicon glyphicon-chevron-down" ng-hide="facet.open" style="color:silver"></span>
						<span class="glyphicon glyphicon-chevron-up" ng-show="facet.open" style="color:silver"></span>	
						&nbsp;{{facet.name | i18n }}
					</h5>
{'fraction_non_alphanumeric': 0.2134801993181222, 'fraction_numerical': 0.011539470233412012, 'mean_word_length': 3.9023136246786634, 'pattern_counts': {'":': 0, '<': 124, '<?xml version=': 0, '>': 126, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3352980', 'n_tokens_mistral': 1634, 'n_tokens_neox': 1393, 'n_words': 256}