Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


Question:how to Highlighting keyword using solr?


Highlighting

Hit highlighting returns relevent snippets of each returned document, and highlights terms from the query within those context snippets.

The following example searches for video card and requests highlighting on the fields name,features. This causes a highlighting section to be added to the response with the words to highlight surrounded with (for emphasis) tags.

...&q=video card&fl=name,id&hl=true&hl.fl=name,features

asked Sep 13, 2013 in SOLR by rajesh
edited Sep 12, 2013
0 votes
36 views



Related Hot Questions



Government Jobs Opening


...