Hi, Thanks for the reply. I have searched in Google. The options given did not work out. I see that most of the links are questions based on version change. So, just wanted someone to help me on using the wild card query. Do you have any link that solves my problem? Since I see people can highlight wild card query results from 2.2.0 onwards also, I am confident that it will work in 2.4.1.
Thanks, Vidya -----Original Message----- From: Ian Lea [mailto:ian....@gmail.com] Sent: Tuesday, October 18, 2011 1:52 PM To: java-user@lucene.apache.org Subject: Re: Need Help for Wild Card Query Highlighting Why 2.4.1? That is ancient and there have been many improvements since then. Google finds hits for "lucene highlight wild card" some of which contain some solutions some of which may or may not be relevant for your problem. -- Ian. On Tue, Oct 18, 2011 at 8:17 AM, Vidya Kanigiluppai Sivasubramanian <vidya...@hcl.com> wrote: > > Hi, > > I am new to lucene. > I am using lucene 2.4.1 in my project to do a search in a text document. > I need to perform a wild card query. > I am using the code given in Hrycon - blog. > It is working fine with complete words. When we do a wild card query, we can > only see the search hits but the text fragments are not available when we use > getBestFragments(). > Can somebody explain if there is a specific way to do wild card query > highlight. > > Thanks in advance, > Vidya K S > > > > ________________________________ > ::DISCLAIMER:: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. > Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org