Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 22844 invoked from network); 16 Aug 2006 07:33:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2006 07:33:16 -0000 Received: (qmail 3895 invoked by uid 500); 16 Aug 2006 07:33:11 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3272 invoked by uid 500); 16 Aug 2006 07:33:09 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 3260 invoked by uid 99); 16 Aug 2006 07:33:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Aug 2006 00:33:09 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=EXTRA_MPART_TYPE,HTML_IMAGE_ONLY_16,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.202.165.182] (HELO smtpauth02.prod.mesa1.secureserver.net) (64.202.165.182) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Aug 2006 00:33:08 -0700 Received: (qmail 8614 invoked from network); 16 Aug 2006 07:32:46 -0000 Received: from unknown (202.153.32.162) by smtpauth02-04.prod.mesa1.secureserver.net (64.202.165.182) with ESMTP; 16 Aug 2006 07:32:46 -0000 Subject: Re: HELP: how to highlight the search key word in lucene's search results? From: Ramesh Salla Reply-To: ramesh.salla@iptouch.com To: java-user@lucene.apache.org Cc: kevin In-Reply-To: <44DCB14E.70808@gmail.com> References: <8834A84C87A2C148AD46921BB8BFC97C021E57F0@S1SE1MAIL.emea1.ad.group> <359a92830608100611h4c4c58f4we1997b5a46f6bca@mail.gmail.com> <44DCB14E.70808@gmail.com> Content-Type: multipart/related; type="multipart/alternative"; boundary="=-iFbVWhMSrgsZ9w+okzV3" Organization: iptouch Date: Wed, 16 Aug 2006 13:03:54 +0530 Message-Id: <1155713634.3967.17.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-iFbVWhMSrgsZ9w+okzV3 Content-Type: multipart/alternative; boundary="=-LMhqRkLgJiDYxGGT409G" --=-LMhqRkLgJiDYxGGT409G Content-Type: text/plain Content-Transfer-Encoding: 7bit goto mailing list archive and you find a lot of info there. i can brief you out procdure for now. get the Highlighter jar from the lucene-sandbox and see the examples from this downloaded folder. Get the Search Results from the Hits and pass this string to the highlighter class. if you still need help... please ping, i can pass you some code on. :) On Sat, 2006-08-12 at 00:33 +0800, kevin wrote: > Hi, > how to highlight the search key word in lucene's search results? pls > give advise,thanks! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --=-LMhqRkLgJiDYxGGT409G Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit goto mailing list archive and you find a lot of info there.

i can brief you out procdure for now.
get the Highlighter jar from the lucene-sandbox and see the examples from this downloaded folder.
Get the Search Results from the Hits and pass this string to the highlighter class.

if you still need help... please ping, i can pass you some code on.

:)



On Sat, 2006-08-12 at 00:33 +0800, kevin wrote:
Hi,
how to highlight the search key word in lucene's search results? pls 
give advise,thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


--=-LMhqRkLgJiDYxGGT409G-- --=-iFbVWhMSrgsZ9w+okzV3--