lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ma, Xiaohui (NIH/NLM/LHC) [C]" <xiao...@mail.nlm.nih.gov>
Subject how to highlight string in jsp
Date Mon, 02 Aug 2010 18:58:02 GMT
Hello,

I am trying to display the highlight string in different color on jsp. I use following in
servlet.

query.setHighlight(true).setHighlightSnippets(1);
query.setParam("hl.fl", "Abstract");

I wonder how I can display it in jsp

Thanks in advanced.
xm


Mime
View raw message