tags:

views:

18

answers:

1

Hi,

I developed search page using SOLR with Tomcat servlet container. Using PHP code I post the search query into solrQuery() function and In this function have defined query parameter as follows.

$query = "?q=".trim(urlencode($q)) &version=2.2&start=0&rows=10&indent=on&hl=true&hl.fl=title";

I have passed highlighted "hl=true&hl.fl=title" parameters. I dont know about How to parse/display highlighted results in my search page?

can any one help me?