lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vidya Kanigiluppai Sivasubramanian <>
Subject RE: Need Help for Wild Card Query Highlighting
Date Tue, 18 Oct 2011 08:35:16 GMT

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.


-----Original Message-----
From: Ian Lea [] 
Sent: Tuesday, October 18, 2011 1:52 PM
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.


On Tue, Oct 18, 2011 at 8:17 AM, Vidya Kanigiluppai Sivasubramanian
<> 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
> ________________________________
> -----------------------------------------------------------------------------------------------------------------------
> 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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message