lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Need Help for Wild Card Query Highlighting
Date Tue, 18 Oct 2011 08:21:31 GMT
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:

View raw message