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 A5AF920049D for ; Wed, 9 Aug 2017 17:40:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A417816966C; Wed, 9 Aug 2017 15:40:26 +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 EA67616966B for ; Wed, 9 Aug 2017 17:40:25 +0200 (CEST) Received: (qmail 339 invoked by uid 500); 9 Aug 2017 15:40:21 -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 323 invoked by uid 99); 9 Aug 2017 15:40:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2017 15:40:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6DAD0C1231 for ; Wed, 9 Aug 2017 15:40:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.151 X-Spam-Level: X-Spam-Status: No, score=-0.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VOv9MwL41Pe0 for ; Wed, 9 Aug 2017 15:40:19 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 301635F3CE for ; Wed, 9 Aug 2017 15:40:19 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id g71so26311572ioe.5 for ; Wed, 09 Aug 2017 08:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ZaOL72LAKEKWNTXO0NBTjnXbtq+B8CjxyVI1WGFqec0=; b=AzIwLqeftW2JwHJHBOYNVK/r8ovJJym+ULPTWVhDDkwEiwkMAiAX9eQ9Jh3a5yMPD8 MWaFtQb/fLKv96GbplW1IIpyTzW58MvEgCG4eVSi/5Kej8GEgwuo2ix9EbwLiXQoNbO9 mYATKjPGXcvIQ/9sXLOooC3TjyiJjSlkV067i8+i7vq+CB8JsKOMZfGnUNV+V2d3hqum 3PM4rGBb0Dbl1jn8T0tQoiBVhen2WuW8BE7rj4UNBeGecV4+LOkkAoEwQvf0gkmZdjTZ 14a4juPRm1VIa3h1QtCAOWhgdNwSqMAf9G0yzTjLoBrkoGVN0MDWcovo4WQ3Se/h2yot cjsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ZaOL72LAKEKWNTXO0NBTjnXbtq+B8CjxyVI1WGFqec0=; b=XRRDwMunsgizaC106S/IIIEjJ3ixwT5Cdai+g7r9MaMbD43LesLNU3AjcyygOWvVRP FmcLRo3dp9LyKOYexoNh/OGYZ1biaXdF324UPXqxZg59kfzosYB9FpqCWOvBXz3OMK29 xLF6duygUsTVhzULS5ommmpZoRoL8F2T+EN1WpF+3hq79xs8cbOBM+Vhv3aGCC3ZiZ9f QGCs5OCZDh+YpWzWN1LMnVadAF7vBZjLj3A/ssugxlAxoUGSdhXHrtvi5dVVp2EkCbU/ bfBnmcOBCRjBBc8XwJUQIjX3k/sLlWPSLMwsTZrABG38E4pegLtB/+DUw2BAVUqhRZ0o aBEQ== X-Gm-Message-State: AHYfb5iOEUpbZIZRO3Hde7Je2+E4NXZoK+qEOPXoPtpM4GZ2sOrZmV8x sSOg6kPAOP4k7atLa5NzqAFB0kJiu6Eu X-Received: by 10.107.135.33 with SMTP id j33mr7749361iod.257.1502293217164; Wed, 09 Aug 2017 08:40:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aman Deep Singh Date: Wed, 09 Aug 2017 15:39:55 +0000 Message-ID: Subject: Re: Case sensitive synonym value To: solr-user Content-Type: multipart/alternative; boundary="001a113ed0728ec0be055653e558" archived-at: Wed, 09 Aug 2017 15:40:26 -0000 --001a113ed0728ec0be055653e558 Content-Type: text/plain; charset="UTF-8" Hi Erick, I tried even before going to lowercase factory value is in lowercase this is the analysis tab result for the query iwatch where {"iwatch":["iWatch","appleWatch"]} is configured in managed synonym ST iwatch SF *applewatch* *iwatch* PRF applewatch iwatch PRF applewatch iwatch WDF applewatch iwatch LCF applewatch iwatch Thanks, Aman Deep Singh On 09-Aug-2017 8:46 PM, "Erick Erickson" wrote: > Admin/analysis is a good place to start figuring this out. For > instance, do you have lowerCaseFilter configured in your analysis > chain somewhere that's doing the conversion? > > Best, > Erick > > On Wed, Aug 9, 2017 at 5:34 AM, Aman Deep Singh > wrote: > > Hi, > > I'm trying to use the ManagedSynonyms with *ignoreCase=true* > > It is working fine for the identifying part but the problem comes in > > synonym value > > Suppose i have a synonym *iwatch ==>appleWatch,iWatch* > > If the user query is *iwatch (in any case)* it was identifying the > synonym > > and replace the token with *applewatch and iwatch* (in lowercase),which > i > > didn't want > > I need the synonyms to comes with the same case what i have configured > > i.e. *appleWatch and iWatch* > > Any idea on how to so that . > > > > Thanks, > > Aman Deep Singh > --001a113ed0728ec0be055653e558--