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 794382009FB for ; Fri, 6 May 2016 12:11:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 77C6B160A0C; Fri, 6 May 2016 10:11:05 +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 BFBBD1609F6 for ; Fri, 6 May 2016 12:11:04 +0200 (CEST) Received: (qmail 52131 invoked by uid 500); 6 May 2016 10:11:02 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 52118 invoked by uid 99); 6 May 2016 10:11:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2016 10:11:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id AE185C0DF4 for ; Fri, 6 May 2016 10:11:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 7f4dDEoOajfb for ; Fri, 6 May 2016 10:10:58 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 1DE775F23B for ; Fri, 6 May 2016 10:10:58 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id n129so51807280wmn.1 for ; Fri, 06 May 2016 03:10:58 -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; bh=3JOKp3r28jQ9D3bnHcqpEZFpFXxlQCJwDMupC+sA4jg=; b=LL2jzTda7g23C2N0YqGLpupsDhVR14+rY2TEmBb3MWNsdpN/yCXgNFAj0Uxd31b6PF U+HiQ0KpjAPciCcAjX3UPETe2bI8OCCQKJveY6CDb+1ri5mEQULH+PCRP9byQcGTWc82 3om3GRwcZkLHTO6rOtOvWPeV17jLK0sV/IMrmyOx4mO3pWNjiw7L7a12vPmE3D7ZevyE jEs/QfpCOIRsQJ5Q2je3hvP3/w7HC3KNQjawFWHp+8wkWUSAIsDyC4K9SQ1948RcJl1c yfxGs0TcVRN5LyAqcaCv1bOF1U5iMGluJagxXm0Mnlw7i/U2X0UIhDu/k2U4rEJU8EQH McOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=3JOKp3r28jQ9D3bnHcqpEZFpFXxlQCJwDMupC+sA4jg=; b=F5Mn8r4PRTPu3Hb4w1XwKBPrRqgWwjpJ9SWpZWHW9Rk6iEYiR5FR2qse9WxNiQhKsc 1a45w9oUqdU9QsJ3zvmJKZ2gx9EwnrDt7z4/QEY7jWox46a217uOEgY96GdKgbInjhs9 DuH1iAw4gHNKNjfxWhKheg/Z9E/hp4+caET2HsOjiBsdxGg2MOd20AGeeSZEs45hQ5AK 1C3zGnFhzpOjCnuv77V2t8AO6PeX+5sOZHPnt7C6VtciXeeDLxPPhIVRcG63lRUN3TOs WUejykdL4vEHzl+N8VQuDWUN2/8e01njpJFOwuKywepEvwNCrCwZi2HiIYTMEWtIcIYj j+UQ== X-Gm-Message-State: AOPr4FVxofv8U0VndEOeR/fdaeOPugTIrAFanaaIl5wxTVKmREzq7H3UPhh18XjNdxfuJOCdj7UnO9iE8NgdgQ== MIME-Version: 1.0 X-Received: by 10.194.87.103 with SMTP id w7mr19074552wjz.13.1462529451176; Fri, 06 May 2016 03:10:51 -0700 (PDT) Received: by 10.194.51.166 with HTTP; Fri, 6 May 2016 03:10:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 May 2016 15:40:51 +0530 Message-ID: Subject: Re: Multi-word Synonyms Solr 4.3.1 does not work From: SRINI SOLR To: solr-user@lucene.apache.org, reth.iksam@gmail.com Content-Type: multipart/alternative; boundary=047d7bf10b546941c6053229ac6f archived-at: Fri, 06 May 2016 10:11:05 -0000 --047d7bf10b546941c6053229ac6f Content-Type: text/plain; charset=UTF-8 Hi Reth & All - Thanks for your quick reply. As I can see the work-around link given by you is dealing with the different syntax of the synonyms ... like as below ... big apple new york city city of new york new york new york new york ny ny city ny ny new york But I need the synonyms like as below format - left-hand => right-hand test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 Can you please help me out and suggest the approach. On Fri, May 6, 2016 at 12:13 PM, Reth RM wrote: > Right, this is a known issue. There is currently an active jira that you > may like to watch https://issues.apache.org/jira/browse/SOLR-5379 > > And other possible workaround is explained here : > > https://lucidworks.com/blog/2014/07/12/solution-for-multi-term-synonyms-in-lucenesolr-using-the-auto-phrasing-tokenfilter/ > > On Fri, May 6, 2016 at 11:51 AM, SRINI SOLR wrote: > > > Hi All - > > Can you please help me out on the multi-word synonyms with Solr 4.3.1. > > > > I am using the synonyms as below .... > > > > test1,test2 => movie1 cinema,movie2 cinema,movie3 cinema > > > > I am able to success with the above syntax .... like - if I search for > > words like test1 or test2 then right hand side multi-word values are > > shown. > > > > But - > > > > I have a synonyms like below - multi-word on both the side left-hand and > > right-hand... > > > > test1 test, test2 test, test3 test =>movie1 cinema,movie2 cinema,movie3 > > cinema > > > > With the above left-hand multi-word format - not working as expected .... > > means .... > > > > Here below is the configuration I am using on query analyzer ... > > > > > ignoreCase="true" expand="true" > > tokenizerFactory="solr.KeywordTokenizerFactory"/> > > > > > > Please Help me .... > > > --047d7bf10b546941c6053229ac6f--