i think Tatu explained enough, anyway, the term collector i posted will give to you the terms array, from that using the LuceneTools from iq-computing.de you can make it run (please note the use of SlopeClause, it helps build highlight of PhraseQuery with slop>0) Will be a good challenge make it working, if you find it hard tell me and i'll see if i can help more. Ciao. --
On Thu, 3 Apr 2003 18:30:54 Lixin Meng wrote: >Thanks for the information. I am glad that I asked. If you don't mind, it >leads to more questions. :) > >- I read the patch is pretty new (3/2003). Does that mean I need to use the >CVS version of the code? >- Also, in your archived email, you mentioned a Highlighter class. Is it >part of the code base now (sorry, I didn't download the CVS yet)? >- Or, is there any sample or documentation about using this new feature? >- Is there any planned date for the next release, which will make the change >official? > >Regards >Lixin > >-----Original Message----- >From: none none [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 03, 2003 5:42 PM >To: Lucene Developers List >Subject: Re: Highlight Search Result > > >hi, >there are some plan (i guess), and there are a couple of proposal already in >the mailing list. >search the dev mailing list for "term collector", you'll find a couple of >zips. >The version you are talking about (www.) doesn't work with >the release 1.3. >Ciao > > >-- > >On Thu, 3 Apr 2003 16:56:14 > Lixin Meng wrote: >>When I was looking for a solution that can highlight the query terms in the >>search result, I came cross the following one. >> >>http://www.iq-computing.de/lucene/highlight.jsp >> >>It sounds a good solution to me. However, to make it working, one need to >>modify Lucene source code (such as change some private declaration to >>public). I guess you guys already know about it. Just wonder if there is >any >>plan (or there is any procedure) to incorporate the suggestions into Lucene >>code base? >> >>If the answer is no, anybody knows other solution, which doesn't require >>code change, for highlighting? >> >>I am hesitating to make a variation out of Lucene main stream, since I will >>have to patch it everytime Lucene has an new release. After all, I just >want >>to use it. >> >>Regards, >>Lixin >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > >_____________________________________________________________ >Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. >http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
