You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Ma, Xiaohui (NIH/NLM/LHC) [C]" <xi...@mail.nlm.nih.gov> on 2010/08/02 20:58:02 UTC
how to highlight string in jsp
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
Re: how to highlight string in jsp
Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: how to highlight string in jsp
: References: <8C...@webmail-m057.sysops.aol.com>
: <vm...@animal.buyways.nl>
: In-Reply-To: <vm...@animal.buyways.nl>
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a mailing list, please do not reply to
an existing message, instead start a fresh email. Even if you change the
subject line of your email, other mail headers still track which thread
you replied to and your question is "hidden" in that thread and gets less
attention. It makes following discussions in the mailing list archives
particularly difficult.
See Also: http://en.wikipedia.org/wiki/User:DonDiego/Thread_hijacking
-Hoss