Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 291847CB5 for ; Tue, 18 Oct 2011 08:22:22 +0000 (UTC) Received: (qmail 87001 invoked by uid 500); 18 Oct 2011 08:22:19 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 86966 invoked by uid 500); 18 Oct 2011 08:22:18 -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 86957 invoked by uid 99); 18 Oct 2011 08:22:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 08:22:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ian.lea@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 08:22:12 +0000 Received: by iakh37 with SMTP id h37so548195iak.35 for ; Tue, 18 Oct 2011 01:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DXDFIwIZh4H2VZt04cv+8caNkv0CaVaU9oMTaAr+iaA=; b=nT1EtN5HxGu6DsZT2+WS2Asgc63vS55Kl2QtVGtmrNrGKJGL4V5VcnHFLS4fM7h/BV KMWbDVycwIpJC00TE6Z5C/bQnm0BhH2XnhGbPKf9kvQ+tcJeL2HUfNjlzNsIRxm5wc7R DKxzs/0k+DfgijVFFXiOwlyc7d5/iXlgIdxqA= Received: by 10.42.155.133 with SMTP id u5mr2802098icw.8.1318926111115; Tue, 18 Oct 2011 01:21:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.45.141 with HTTP; Tue, 18 Oct 2011 01:21:31 -0700 (PDT) In-Reply-To: <1F70F4ACF589D642B863BA9A02819934048889802E@CHN-HCLT-EVS09.HCLT.CORP.HCL.IN> References: <1F70F4ACF589D642B863BA9A02819934048889802E@CHN-HCLT-EVS09.HCLT.CORP.HCL.IN> From: Ian Lea Date: Tue, 18 Oct 2011 09:21:31 +0100 Message-ID: Subject: Re: Need Help for Wild Card Query Highlighting To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 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 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-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org