Skip to content

Commit

Permalink
[DS-1395] Hit highlighting not operational
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVdV committed Nov 21, 2012
1 parent a2a8dff commit 7eeb042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@ protected DiscoverResult retrieveResult(Context context, DiscoverQuery query, Qu

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
Expand Down

0 comments on commit 7eeb042

Please sign in to comment.