Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EFD011F86 for ; Mon, 22 Sep 2014 07:49:44 +0000 (UTC) Received: (qmail 55115 invoked by uid 500); 22 Sep 2014 07:49:44 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 55060 invoked by uid 500); 22 Sep 2014 07:49:43 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 55048 invoked by uid 99); 22 Sep 2014 07:49:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 07:49:43 +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 shariqnitt@gmail.com designates 209.85.219.41 as permitted sender) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 07:49:17 +0000 Received: by mail-oa0-f41.google.com with SMTP id i7so2002917oag.0 for ; Mon, 22 Sep 2014 00:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SgfZNOUyJITpzYs0hJYjcLJfEE764f+zTtQfEG+zZaw=; b=iYVSeYFSOPVV7BprwGTwadAauLduwSraAEnX9TsEf3h2YtGSBkp49b97S4wAwGzbva FeYQ9pR05Yk3bFXj66G2oEICrdkPgAQFo6dJ1Ye/YS5sKxbyvjkiUPG7TDgYs+UREHSM TxUK2Hiko8471wp+tlt4IkHV0KOLEhanetgPoDpCwLGqZWUdMUVAb74xM34jERhNYrZZ IDWsQ16Crab++LNM0DM8+v8lUZBfKs07cM9ewwiFA8jM/ge8klLofTO7ZxKhsqaGz6QX +OHvy+Qeixe310FH2ZXHiFRfPcA3IEuten3cvnaTVtB20PiZRaA49+oVW3hZvXVZIIwp dWyQ== MIME-Version: 1.0 X-Received: by 10.60.94.65 with SMTP id da1mr16278536oeb.11.1411372156107; Mon, 22 Sep 2014 00:49:16 -0700 (PDT) Received: by 10.202.46.196 with HTTP; Mon, 22 Sep 2014 00:49:16 -0700 (PDT) Date: Mon, 22 Sep 2014 13:19:16 +0530 Message-ID: Subject: Using DoubleMetaphone for phonetic search From: Mohammad Shariq To: general@lucene.apache.org Content-Type: multipart/alternative; boundary=089e0117658702c3f50503a2b0bf X-Virus-Checked: Checked by ClamAV on apache.org --089e0117658702c3f50503a2b0bf Content-Type: text/plain; charset=UTF-8 Hi, I want to improve the search result by using below filter But its giving the strange result. E.g for the word "dew" its matching with "tofu" its happening because DoubleMetaphone token are dew: ('T', 'TF') tofu: ('TF', None) Please let me know that how to solve this problem. Also is there any such option like "minCodeLength" with DoubleMetaphoneFilterFactory Thanks --089e0117658702c3f50503a2b0bf--