From solr-user-return-143052-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Thu Aug 16 02:01:39 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9B18118067A for ; Thu, 16 Aug 2018 02:01:38 +0200 (CEST) Received: (qmail 62342 invoked by uid 500); 16 Aug 2018 00:01:36 -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 62330 invoked by uid 99); 16 Aug 2018 00:01:36 -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; Thu, 16 Aug 2018 00:01:36 +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 A83FC18071F for ; Thu, 16 Aug 2018 00:01:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.213 X-Spam-Level: *** X-Spam-Status: No, score=3.213 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=opensourceconnections.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6zfQPr3_B5gN for ; Thu, 16 Aug 2018 00:01:34 +0000 (UTC) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4452C5F19A for ; Thu, 16 Aug 2018 00:01:34 +0000 (UTC) Received: by mail-lj1-f172.google.com with SMTP id j19-v6so2260866ljc.7 for ; Wed, 15 Aug 2018 17:01:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opensourceconnections.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4NI3JLsMWiu8jIWUTV+f5uORBqc+Ys0dZKIztr7kv4A=; b=v4yddqox3jdpwc/bSRqbg7jy6rvE4beXo3XlSe9yTSNm01lVfh2XsjQ8//05wFfZBc 9anFkLWj0RLk6HK8F+0srk+3O2BEpJku3KBk1Gfd578+Ob6bZ+rb81lL0vJ1gOBHIrT3 lkUN1dxA+oAQ/CPycCpyGRpiHZqRP31IhhY0I= 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=4NI3JLsMWiu8jIWUTV+f5uORBqc+Ys0dZKIztr7kv4A=; b=ZyPhfNQP7PvbTOwGDoQRcdPCFAI5OLGKi9YHC0I9gPFsEpGNtg85vo4dJsmpVOxKYQ P3kGn1+nGpQOuipftjHiVTjgVvu/b4FxQHJ38L9L+mRh7eZzSYulbLZALwGJAe64s9oP YhcBSpRpeMhv8JVFrZmD4CsJIL5SDGvslNi0Hsv6/jc1ZhjqAWp0LUKURGOyjfwj62kI vOvSC4MMdpQVMImmtARkl8+tloLQ92rlsi8p436HkXB+Dtof2uj9kY8e4CskPTRgkQw6 y7Hw91zKBYoNyY5oOtxX4DYjnWADeI6iW3eTakXWJpNHDX2omvp/EWtBV7bITkKtl1Yu JUOg== X-Gm-Message-State: AOUpUlEVAtG5aMD8JfEndpUYCebdQak6NFfIzh5s9ghbPvVIKp76ae4B mK4sBwzIHwhitpHaMbAMpJ/+Ye3+eVgUNFmB4463pLnT X-Google-Smtp-Source: AA+uWPyu5HS3CtFmsyxT+S2iui+rqfH6ug+HptvtBelT6BO/cE3xoMsD+ezg+NzQUZbiD7j/POJJ5UHIRtnsxnYWwNg= X-Received: by 2002:a2e:9854:: with SMTP id e20-v6mr19035971ljj.143.1534377692538; Wed, 15 Aug 2018 17:01:32 -0700 (PDT) MIME-Version: 1.0 References: <1534372072335-0.post@n3.nabble.com> In-Reply-To: From: Doug Turnbull Date: Wed, 15 Aug 2018 20:01:21 -0400 Message-ID: Subject: Re: Multi-word Synonyms - how does sow parameter work? To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="00000000000050c8a005738225c7" --00000000000050c8a005738225c7 Content-Type: text/plain; charset="UTF-8" Also share your fieldType settings for myfield as well from your schema On Wed, Aug 15, 2018 at 8:00 PM Doug Turnbull < dturnbull@opensourceconnections.com> wrote: > Aside from the screenshot issue, one thing to check: are you searching > with defType=edismax ? > > As in > q=lcd&qf=myfield&sow=false&defType=edismax > > ? > > Also sow=false should the the default on Solr 7 and above > > Doug > > On Wed, Aug 15, 2018 at 6:27 PM Roy Lim wrote: > >> I'm trying to figure out why the multi-word synonym expansion is not >> working >> correctly. Specifically, when I test a standard query with Solr Admin it >> is >> still splitting on whitespace. >> >> Here is my setup: >> - Solr 7.2.1 >> - synonym LCD => liquid crystal display >> - q=myfield:LCD >> - added: sow=false >> - myfield looks like: >> >> >> Solr Admin shows the parsed query looks like: >> >> myfield:liquid myfield:crystal myfield:display >> >> (default operator being OR), which would incorrectly match documents with >> any of those words, but not all, which is what I would expect... >> >> >> >> >> >> -- >> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >> > -- > CTO, OpenSource Connections > Author, Relevant Search > http://o19s.com/doug > -- CTO, OpenSource Connections Author, Relevant Search http://o19s.com/doug --00000000000050c8a005738225c7--