JElster
asked on
Apache Solr Search how to Highlight
Hi..
I have a search that returns JSON with the highlighting feature. It returns addtional JSON like
this
"highlighting":{
"903514":{
"details":["<em>Smit h</em&g t;"],
"text":["<em>Smith&l t;/em>" ]},
How can use JS to use this JSON and highlight the search results text in HTML page?
Any ideas?
I have a search that returns JSON with the highlighting feature. It returns addtional JSON like
this
"highlighting":{
"903514":{
"details":["<em>Smit
"text":["<em>Smith&l
How can use JS to use this JSON and highlight the search results text in HTML page?
Any ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
glad i could help
ASKER
I need to findout how I can process the returned JSON t to show the highlighted text