mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #141 from atmire/DS-1395
[DS-1395] Hit highlighting not operational
This commit is contained in:
@@ -1654,7 +1654,7 @@ public class SolrServiceImpl implements SearchService, IndexingService {
|
||||
|
||||
if(solrQueryResponse.getHighlighting() != null)
|
||||
{
|
||||
Map<String, List<String>> highlightedFields = solrQueryResponse.getHighlighting().get(dso.getHandle());
|
||||
Map<String, List<String>> highlightedFields = solrQueryResponse.getHighlighting().get(dso.getType() + "-" + dso.getID());
|
||||
if(MapUtils.isNotEmpty(highlightedFields))
|
||||
{
|
||||
//We need to remove all the "_hl" appendix strings from our keys
|
||||
|
Reference in New Issue
Block a user