Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 52180 invoked from network); 23 Jun 2008 06:25:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jun 2008 06:25:59 -0000 Received: (qmail 6477 invoked by uid 500); 23 Jun 2008 06:25:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 6445 invoked by uid 500); 23 Jun 2008 06:25:54 -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 6434 invoked by uid 99); 23 Jun 2008 06:25:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jun 2008 23:25:54 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [61.95.162.76] (HELO kecgate02.infosys.com) (61.95.162.76) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 06:25:05 +0000 X-TM-IMSS-Message-ID: <3692a4600000ca8e@infosys.com> Received: from blrkechub03.ad.infosys.com ([10.66.236.43]) by infosys.com ([61.95.162.76]) with ESMTP (TREND IMSS SMTP Service 7.0; TLS: TLSv1/SSLv3,128bits,RC4-MD5) id 3692a4600000ca8e ; Mon, 23 Jun 2008 11:54:01 +0530 Received: from BLRKECMBX06.ad.infosys.com ([10.66.236.32]) by blrkechub03.ad.infosys.com ([10.66.236.43]) with mapi; Mon, 23 Jun 2008 11:55:19 +0530 From: Allahbaksh Mohammedali Asadullah To: "java-user@lucene.apache.org" Date: Mon, 23 Jun 2008 11:55:19 +0530 Subject: RE: lucene search options Thread-Topic: lucene search options Thread-Index: AcjU+XqM2TNwiDe6ROWrAaUug/fyUQAABrbA Message-ID: <68959F25CDEBCB4F917D5A253291D73E07ECD64783@BLRKECMBX06.ad.infosys.com> References: <6fc71b230806222321k16dd8574u6feab56912189900@mail.gmail.com> In-Reply-To: <6fc71b230806222321k16dd8574u6feab56912189900@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org One=20way=20of=20doing=20it=20is=20while=20parsing=20email=20if=20it=20ha= s=20.gmail.com=20add=20it=20to=20different=20field=20also. Warm=20Regards, Allahbaksh Allahbaksh=20Mohammedali=20Asadullah, Software=20Engineering=20&=20Technology=20Labs, Infosys=20Technolgies=20Limited,=20Electronics=20City, Hosur=20Road,=20Bangalore=20560=20100,=20India. *Board:=20+91-80-28520261=20|=20Extn:=2053915=20|=20Direct:=2041173915. Fax:=20+91-80-28520362=20|=20Mobile:=20+91-9845505322. http://allahbaksh.blogspot.com -----Original=20Message----- From:=20Aditi=20Goyal=20[mailto:aditigupta20@gmail.com] Sent:=20Monday,=20June=2023,=202008=2011:51=20AM To:=20java-user@lucene.apache.org Subject:=20lucene=20search=20options Hi=20All, I=20am=20using=20Lucene=20for=20creating=20indexes.=20There=20is=20one=20= field=20as=20"email"=20which stored=20the=20email=20id. I=20have=20few=20queries=20regarding=20searching: 1.=20I=20want=20to=20search=20for=20all=20the=20records=20having=20domain= =20as=20"gmail.com"=20.=20So, is=20there=20a=20way=20by=20which=20I=20can=20do=20a=20partial=20search= =20on=20"email"=20field=20such=20that I=20get=20the=20records=20matching=20only=20the=20domain=20name. I=20think=20wildcard=20(*)=20cannot=20be=20used=20in=20the=20beginning=20= :( 2.=20If=20I=20just=20want=20to=20search=20for=20the=20records=20which=20a= re=20not=20matching=20email=20as "abc@xyz.com" How=20can=20I=20search=20for=20it.=20Here,=20MUST_NOT=20cannot=20be=20use= d=20alone.=20Is=20there=20a=20way out? Please=20help. Thanks, Aditi ****************=20CAUTION=20-=20Disclaimer=20***************** This=20e-mail=20contains=20PRIVILEGED=20AND=20CONFIDENTIAL=20INFORMATION= =20intended=20solely=20 for=20the=20use=20of=20the=20addressee(s).=20If=20you=20are=20not=20the= =20intended=20recipient,=20please=20 notify=20the=20sender=20by=20e-mail=20and=20delete=20the=20original=20mes= sage.=20Further,=20you=20are=20not=20 to=20copy,=20disclose,=20or=20distribute=20this=20e-mail=20or=20its=20con= tents=20to=20any=20other=20person=20and=20 any=20such=20actions=20are=20unlawful.=20This=20e-mail=20may=20contain=20= viruses.=20Infosys=20has=20taken=20 every=20reasonable=20precaution=20to=20minimize=20this=20risk,=20but=20is= =20not=20liable=20for=20any=20damage=20 you=20may=20sustain=20as=20a=20result=20of=20any=20virus=20in=20this=20e-= mail.=20You=20should=20carry=20out=20your=20 own=20virus=20checks=20before=20opening=20the=20e-mail=20or=20attachment.= =20Infosys=20reserves=20the=20 right=20to=20monitor=20and=20review=20the=20content=20of=20all=20messages= =20sent=20to=20or=20from=20this=20e-mail=20 address.=20Messages=20sent=20to=20or=20from=20this=20e-mail=20address=20m= ay=20be=20stored=20on=20the=20 Infosys=20e-mail=20system. ***INFOSYS********=20End=20of=20Disclaimer=20********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org