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 E1A15200C39 for ; Thu, 16 Mar 2017 15:16:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E06CE160B7A; Thu, 16 Mar 2017 14:16:57 +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 37137160B78 for ; Thu, 16 Mar 2017 15:16:57 +0100 (CET) Received: (qmail 35020 invoked by uid 500); 16 Mar 2017 14:16:55 -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 34966 invoked by uid 99); 16 Mar 2017 14:16:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2017 14:16:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A91231A0220 for ; Thu, 16 Mar 2017 14:16:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VjSreo01xInS for ; Thu, 16 Mar 2017 14:16:52 +0000 (UTC) Received: from mail-ua0-f181.google.com (mail-ua0-f181.google.com [209.85.217.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A665B5F473 for ; Thu, 16 Mar 2017 14:16:51 +0000 (UTC) Received: by mail-ua0-f181.google.com with SMTP id u30so27105202uau.0 for ; Thu, 16 Mar 2017 07:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UobR7Rqn+/yXT0mlJiTWp+13t8pKKvw6PHSLtT85G3g=; b=fM90925Vtobo7LjPhx4Yu+9mXpzUNCw4hHLXoVUViK2XM4AfoC23NooJswnix6nczl jC4LkT9dSj23n5iYIJ6jBXKdlyR8rBmLdG+2XcPMgozsPeSgHebfX8yxP/36ClGsUN65 Qv/ue9B77PzUU1hutuwzlZueCyBaVcl4agcMnPURsZk3SC1P/31Ul6KcrcKKuCjkuZPf pQ+4vn+r8EwkuWIe+eG9hjPjrmF/StzlxUnCsQ5SgkkIcCaFjTLF93QYt8XuiPpJMco4 gHq07EdO1k5l2/yncsGMlHXNsSWgIJlQbyrVXK7p7LTD42HuVtYJg46TUxHyxq+iRZU+ hjfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=UobR7Rqn+/yXT0mlJiTWp+13t8pKKvw6PHSLtT85G3g=; b=S3lQY1HaciWnB2X5k+hK2vOAPX0xD5t5WEY1ZBVxySFCQc9/rz2HAMV4eD4eRexOun gt8hez9UkUVttRF4hLMwRN2hpIKzJiA4xkfUZanbpXoTavRRUwN0VFYqThp94o13r8S2 mq/tXVjhcVdrNfvCYd46xcy4KIvOx814FKqE9w/HvoTtDTKgp0M4FkeUGKAA+WtRaOKK TxXqyZWT25+FIWL6Kx7IZ/ZQDMm0w6gu98f1ac+UHk5Rj2BPqjI6TWyRI+ea9MTZCzXl +fxqGahlpoaU5CSTRzxVAY3sIobvAoxf5/smZcg9Ba4OZsjQYDhzRpNp97AE5xpgMB9p 1JJA== X-Gm-Message-State: AFeK/H0aniUejb8HFqL2zUMVVrG7zhup5Jy2VzGIOfObyNdqsiJBSHcl/iRLwfT7kbTnzW2TMhZo8nTY/oDADg== X-Received: by 10.159.55.132 with SMTP id q4mr3907968uaq.95.1489673810341; Thu, 16 Mar 2017 07:16:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.53.15 with HTTP; Thu, 16 Mar 2017 07:16:09 -0700 (PDT) In-Reply-To: References: From: Alexandre Rafalovitch Date: Thu, 16 Mar 2017 10:16:09 -0400 Message-ID: Subject: Re: Solr shingles is not working in solr 6.4.0 To: solr-user Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 16 Mar 2017 14:16:58 -0000 Sanity check. Is your 'df' pointing at the field you think it is pointing at? It really does look like all tokens were eaten and nothing was left. But you should have seen that in the Analysis screen too, if you have the right field. Try adding echoParams=all to your request to see the full final parameter list. Maybe some parameters in initParams sections override your assumed config. Regards, Alex. ---- http://www.solr-start.com/ - Resources for Solr users, new and experienced On 16 March 2017 at 08:30, Aman Deep Singh wrote: > Hi, > > Recently I migrated from solr 4 to 6 > IN solr 4 shinglefilterfactory is working correctly > my configration i > > positionIncrementGap="100"> > > > maxShingleSize="5" > outputUnigrams="false" outputUnigramsIfNoShingles="false" /> > > > > > maxShingleSize="5" > outputUnigrams="false" outputUnigramsIfNoShingles="false" /> > > > > > > > > But after updating to solr 6 shingles is not working ,schema is as below, > > positionIncrementGap="100"> > > > maxShingleSize="5" > outputUnigrams="false" outputUnigramsIfNoShingles="false" /> > > > > > maxShingleSize="5" > outputUnigrams="false" outputUnigramsIfNoShingles="false" /> > > > > > Although in the Analysis tab is was showing proper shingle result but when > using in the queryParser it was not giving proper results > > my sample hit is > > http://localhost:8983/solr/shingel_test/select?q=one%20plus%20one&wt=xml&debugQuery=true&defType=edismax&qf=cust_shingle > > it create the parsed query as > > one plus one > one plus one > (+())/no_coord > +() > > ExtendedDismaxQParser