mirror of https://github.com/apache/lucene.git
SOLR-9624: Do not highlight CSV output
This commit is contained in:
parent
b157e43b9a
commit
f0447c456a
|
@ -66,6 +66,8 @@ Bug Fixes
|
||||||
* SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause
|
* SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause
|
||||||
replica recovery to hang indefinitely on network partitions. (Cao Manh Dat, shalin)
|
replica recovery to hang indefinitely on network partitions. (Cao Manh Dat, shalin)
|
||||||
|
|
||||||
|
* SOLR-9624: In Admin UI, do not attempt to highlight CSV output (Alexandre Rafalovitch)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ solrAdminApp.config([
|
||||||
})
|
})
|
||||||
.filter('highlight', function($sce) {
|
.filter('highlight', function($sce) {
|
||||||
return function(input, lang) {
|
return function(input, lang) {
|
||||||
if (lang && input && lang!="txt") return hljs.highlight(lang, input).value;
|
if (lang && input && lang!="txt" && lang!="csv") return hljs.highlight(lang, input).value;
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue