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 D030F10872 for ; Thu, 31 Oct 2013 11:57:42 +0000 (UTC) Received: (qmail 29771 invoked by uid 500); 31 Oct 2013 11:57:40 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 29416 invoked by uid 500); 31 Oct 2013 11:57:35 -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 29408 invoked by uid 99); 31 Oct 2013 11:57:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Oct 2013 11:57:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vigneshklncit@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Oct 2013 11:57:27 +0000 Received: by mail-wi0-f178.google.com with SMTP id hn9so2862613wib.17 for ; Thu, 31 Oct 2013 04:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vXh0CxTqLydtBAtlmaGWv0FBavME+iZjMsk7q/gc7jQ=; b=FsEZMfmSmtEoUuHVyRd/qL+qydYNsBZfb7dRxU61lG3cOEszmUHeSpL+YkmzVGXr5O MbQjPWfTzBGO614ILgs7/eLZXHct4R1jMoR2aHLhNM/1RB2M1CojT1sDbJDhMTLlJQrS v2TyrdZGWtZ180Xs4LWPwDM1QQH9arpDN7Lr4c1HxvokcmtRJoA9Whf9kBu2IMpyXT1a 0LPwT4Dro/8HWBgDFZhdY8Lhpb1aIt1Y0xznxEAgawmoGxAiBRzgeo0Aeg4cRf0opGH4 fUBEutWjxbSlotaid7qwBx6nG6ZJ61qLO1wUWKW16+UwfzZjeCz9aaj5l9LAf559qn2g 7Z5A== MIME-Version: 1.0 X-Received: by 10.180.101.134 with SMTP id fg6mr6432223wib.9.1383220627612; Thu, 31 Oct 2013 04:57:07 -0700 (PDT) Received: by 10.194.235.228 with HTTP; Thu, 31 Oct 2013 04:57:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 Oct 2013 17:27:07 +0530 Message-ID: Subject: Re: trm.seekCeil() not giving proper value when used in MP Query for some words From: VIGNESH S To: java-user@lucene.apache.org Cc: parthiban.g@samsung.com, praveen.gk@samsung.com, v.srini@samsung.com Content-Type: multipart/alternative; boundary=f46d04462e5627acb804ea082689 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04462e5627acb804ea082689 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Mike, I can not use other analyzers since they involve stop words.. I need to just index every word.. I have used WhitespaceAnalyer in Lucene 3.6 and it is indexing properly..But this problem iam facing in Lucene 4.3 only.. Thanks and Regards Vignesh Srinivasan On Thu, Oct 31, 2013 at 4:12 PM, Michael McCandless < lucene@mikemccandless.com> wrote: > Pick a better analyzer. > > Maybe StandardAnalyzer? > > Mike McCandless > > http://blog.mikemccandless.com > > > On Thu, Oct 31, 2013 at 2:22 AM, VIGNESH S > wrote: > > Hi Mike, > > > > I am using white space analyzer with lower case filter. The test code i= s > > same as i send above. > > > > The contents i am indexing is > > > > String contents =3D "=95Check for vulnerable ports =95Check fo= r old > and > > vulnerable versions of services on open ports =95Transfer a code which= "; > > > > In that "Check" is not getting indexed properly since it has the > symbol > > "=95"..How can i index it properly.. > > > > > > > > > > > > > > On Thu, Oct 31, 2013 at 9:58 AM, VIGNESH S > wrote: > > > >> Hi Mike, > >> I got the problem.The term is not indexed properly.. > >> > >> > >> On Thu, Oct 31, 2013 at 7:19 AM, VIGNESH S >wrote: > >> > >>> Hi Mike, > >>> > >>> please find tha attached test case G1.java.. > >>> > >>> > >>> On Wed, Oct 30, 2013 at 8:41 PM, Michael McCandless < > >>> lucene@mikemccandless.com> wrote: > >>> > >>>> I don't see any java sources here? > >>>> > >>>> Make sure "check" is in fact being indexed; can you boil it down to = a > >>>> small test case? > >>>> > >>>> Mike McCandless > >>>> > >>>> http://blog.mikemccandless.com > >>>> > >>>> > >>>> On Wed, Oct 30, 2013 at 10:59 AM, VIGNESH S > >>>> wrote: > >>>> > Hi, > >>>> > > >>>> > I have indexed the below text file "filename.txt" using the test > code > >>>> > G1.java.. > >>>> > > >>>> > When I search for "check for old" trm.seekceil() method gives > >>>> "checking" and > >>>> > "checks" and ignores "check" which is there in text document.. > >>>> > > >>>> > It is working for most cases except a few > >>>> > > >>>> > Please kindly help me.. > >>>> > > >>>> > -- > >>>> > Thanks and Regards > >>>> > Vignesh Srinivasan > >>>> > > >>>> > > >>>> > > >>>> > > --------------------------------------------------------------------- > >>>> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > >>>> > For additional commands, e-mail: java-user-help@lucene.apache.org > >>>> > >>>> --------------------------------------------------------------------= - > >>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > >>>> For additional commands, e-mail: java-user-help@lucene.apache.org > >>>> > >>>> > >>> > >>> > >>> -- > >>> Thanks and Regards > >>> Vignesh Srinivasan > >>> 9739135640 > >>> > >> > >> > >> > >> -- > >> Thanks and Regards > >> Vignesh Srinivasan > >> 9739135640 > >> > > > > > > > > -- > > Thanks and Regards > > Vignesh Srinivasan > > 9739135640 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --=20 Thanks and Regards Vignesh Srinivasan 9739135640 --f46d04462e5627acb804ea082689--