mirror of https://github.com/apache/lucene.git
SOLR-3824: Velocity - Error messages from search not displayed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383405 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37fe90bc8e
commit
5743ddef9b
|
@ -178,6 +178,8 @@ Other Changes
|
||||||
running the leader sync process so that we are sure every node participates.
|
running the leader sync process so that we are sure every node participates.
|
||||||
(Per Steffensen, Mark Miller)
|
(Per Steffensen, Mark Miller)
|
||||||
|
|
||||||
|
* SOLR-3824: Velocity: Error messages from search not displayed (janhoy)
|
||||||
|
|
||||||
================== 4.0.0-BETA ===================
|
================== 4.0.0-BETA ===================
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
class="page-count">$page.page_count</span>#end
|
class="page-count">$page.page_count</span>#end
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="error">
|
||||||
|
#if(${response.response.error.code})
|
||||||
|
<h1>ERROR ${response.response.error.code}</h1>
|
||||||
|
${response.response.error.msg}
|
||||||
|
#end
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="results">
|
<div class="results">
|
||||||
#if($response.response.get('grouped'))
|
#if($response.response.get('grouped'))
|
||||||
#foreach($grouping in $response.response.get('grouped'))
|
#foreach($grouping in $response.response.get('grouped'))
|
||||||
|
|
|
@ -196,4 +196,13 @@ li.show {
|
||||||
|
|
||||||
.group-value{
|
.group-value{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error {
|
||||||
|
color: white;
|
||||||
|
background-color: red;
|
||||||
|
left: 210px;
|
||||||
|
width:80%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue