Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 28364200BE7 for ; Tue, 20 Dec 2016 15:25:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 26ABF160B29; Tue, 20 Dec 2016 14:25:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 70445160B1B for ; Tue, 20 Dec 2016 15:25:52 +0100 (CET) Received: (qmail 16346 invoked by uid 500); 20 Dec 2016 14:25:51 -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 16330 invoked by uid 99); 20 Dec 2016 14:25:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2016 14:25:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7D4B21800B7 for ; Tue, 20 Dec 2016 14:25:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.1 X-Spam-Level: X-Spam-Status: No, score=-3.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.999, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id c7xraptYBdN6 for ; Tue, 20 Dec 2016 14:25:49 +0000 (UTC) Received: from sonic303.consmr.mail.ne1.yahoo.com (sonic303.consmr.mail.ne1.yahoo.com [66.163.188.254]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 186505FDCC for ; Tue, 20 Dec 2016 14:25:48 +0000 (UTC) X-YMail-OSG: 4MT_AMoVM1krjwXAYEeKq0.UeofKUmrIH47O6p7Uq48vaPPMxlH6J0gO.wkG7hi cy4C.aTAGTu2grUMHYW.oMqCYk0NiukOjQ1gheixtwnfpNLiqEKg2WzpAs.I0aqXsbFXVKEbLNbb JXFfj0pyENYTDJPXuvMf.mljNc4XJRu53OClceCdd6nchV2Cl68hL3YxM74S1X5WxCJDly2vrvDx ruNvFeWW7Ai9FFgZ5mKcyiJPUjz3GfNslNa9BIGwZPjvEE13hPbWIo2l6r92EDCj15t3vWymRk6o KBJR2aWfRPMMdiQaiDYO4nyM2cIiulOJM7BRN2mNLJy4OBVcvo_xqokTjpWSMxvPTFGRcjkCgMWi qedYwvfXnrBTbkUKY1L8fm6mkqq259QwokeuCghoCQZlmWHhIQNVV.Ri1He4h8JHN8w7VXnEP.FN H4D9fLGG_UFSp9B.ewrEtiW46Vf0U2gQBOE7WEYiQKl9CCglXCImAvzHyuIA11VvYIOpV.YJmNIP hcaLdqmn03kzkRRs4LMtBgCOW40O5x3HkpeaT.vAih6iv6g-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 20 Dec 2016 14:25:42 +0000 Date: Tue, 20 Dec 2016 14:21:41 +0000 (UTC) From: Ahmet Arslan Reply-To: Ahmet Arslan To: "java-user@lucene.apache.org" Message-ID: <343529431.2260465.1482243701956@mail.yahoo.com> In-Reply-To: References: Subject: Re: Email id tokenizer (actual email id & multiple terms) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit archived-at: Tue, 20 Dec 2016 14:25:53 -0000 Hi, You can index whole address in a separate field. Otherwise, how would you handle positions of the split tokens? By the way, speed of phrase search may be just fine, so consider trying first. Ahmet On Tuesday, December 20, 2016 5:15 PM, suriya prakash wrote: Hi, I am using standard analyzer and want to split token for email_id " lucene@gmail.com" as "lucene", "gmail","com","lucene@gmail.com" in a single pass. I have already changed jflex to split email id as separate words(lucene, gmail, com). But we need to do phrase search which will not be efficient. So i want to index actual email id and splitted words. Can you please help me to achieve this. OR let me know whether phrase search is efficient for this case? Regards, Suriya --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org