Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 42322 invoked from network); 5 Jul 2008 01:29:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2008 01:29:38 -0000 Received: (qmail 91100 invoked by uid 500); 5 Jul 2008 01:29:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 91064 invoked by uid 500); 5 Jul 2008 01:29:33 -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 91052 invoked by uid 99); 5 Jul 2008 01:29:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jul 2008 18:29:32 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 01:28:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KEwaC-0002hY-4O for java-user@lucene.apache.org; Fri, 04 Jul 2008 18:29:00 -0700 Message-ID: <18288188.post@talk.nabble.com> Date: Fri, 4 Jul 2008 18:29:00 -0700 (PDT) From: miztaken To: java-user@lucene.apache.org Subject: Re: Store/Index Email Address in Lucene In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: justjunktome@gmail.com References: <18257247.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi there, for email addresses string such as "john@wherever.com; jack smith" I might do wild card search like john* or jack* or john@* for *wherever.com for phrase search i can do "jack smith" for general search i might do "john@whereever.com" I tokenized the string and indexed it into single Field using the Java File, as mentioned in my earlier post and did searching. Its working fine. I want to know what can be the pitfalls of doing like this: One i know is.. for each string, i should maintain two fields.. one to store the original string and one that holds tokenized string. What else ? Thank You miztaken -- View this message in context: http://www.nabble.com/Store-Index-Email-Address-in-Lucene-tp18257247p18288188.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org