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 62387200CEF for ; Mon, 4 Sep 2017 10:57:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60CA7164616; Mon, 4 Sep 2017 08:57:59 +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 A47D7164612 for ; Mon, 4 Sep 2017 10:57:58 +0200 (CEST) Received: (qmail 519 invoked by uid 500); 4 Sep 2017 08:57: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 507 invoked by uid 99); 4 Sep 2017 08:57:55 -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; Mon, 04 Sep 2017 08:57:55 +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 921A4182610 for ; Mon, 4 Sep 2017 08:57:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 89Qr1n4mI-kB for ; Mon, 4 Sep 2017 08:57:53 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7FCD95FB4E for ; Mon, 4 Sep 2017 08:57:52 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id a126so17799004lfa.0 for ; Mon, 04 Sep 2017 01:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DiwXxh/cHdPcJgb/jZjYxvwo2JdVh/LIAkGCsATFkv8=; b=jBZypzV/PipSn3AeLEZRJ1a3IpmlzYOhmvtZCSFHngbnRfLyAmUISIik2PBmQ/4wib GEzKQezTdvQ83uC88N2CpJGS32dwKQwQPXp3ye+vOb/6DnIvZ9Oq3sH830TKSxkMQGUt OOIHFESPU1gqxPkeECy/FEgTzz+6Rgt8eN5Z+FK9i0E5znOYFM7R2z587ReouZDP3isp BELOIhM8IkiXP6AcZT9UcXtCngVMiCq8kP505uJr2qWZV3M34L3XMurnASf6EeKmPcxO VAWH1Z1DC2ZLCIKxSP0PXV/Zf5qg7hClHDMRel/SUu3WiyUids4EV7/Fnn1SG+gYoL81 VLQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DiwXxh/cHdPcJgb/jZjYxvwo2JdVh/LIAkGCsATFkv8=; b=OJdA2TtspvtN/XXTsW46zXSVla37oRA6HJmuSRRKwPeVXAmxicFu3upcsbIDmrwsvw N4DP8zknJ/uD+qF7ao895KNKrvLxL4upOojrYzNV7P11eXPu3ozW9yNgzWpNAV0fNJkM alB8/PaUfm2GSKNbDV/wC5NUNpu6rcmM0ZJmhsv5MX/INxL3oOW4hDGrCq5uHoGGK55f zfIXHBBfc4Y+tJU3EyHFCEcSQtAcb5wHAoQH1QVOCmdll8XlYq7p/M2lRW41auquBLYA jhBjtSEPtLU38OHSVR+reKjUwL/Mn7NWwKCkhzfgxmWITWE99Rt5sjfDN2H6l8mO3BN2 NQEQ== X-Gm-Message-State: AHPjjUgZ6nygpVCaiC0EiOYP1Xk6CQHJegTk+y1uq8oVPboDRC8ybenM uKsW133YYPcY/vucj7YtXk3Zts0ARGwh X-Google-Smtp-Source: ADKCNb4SxINTX3+20gh7hnF7v5F7CzGS58IXiF6L60gxQz6mUHac087t4LeK2OGW273HIK68GVOZI+qYF6Mt56FBhwI= X-Received: by 10.46.21.15 with SMTP id s15mr3897859ljd.119.1504515471705; Mon, 04 Sep 2017 01:57:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.84.13 with HTTP; Mon, 4 Sep 2017 01:57:51 -0700 (PDT) From: Niraj Aswani Date: Mon, 4 Sep 2017 09:57:51 +0100 Message-ID: Subject: unordered autocomplete search To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="f403045f769a400d490558594e28" archived-at: Mon, 04 Sep 2017 08:57:59 -0000 --f403045f769a400d490558594e28 Content-Type: text/plain; charset="UTF-8" Hi, I am using solr 5.5.4. I would like to perform an unordered autocomplete search however it seems that it only suggests phrases that start with my term in the query. For example, in my dictionary I have, *lamp desk* When searching for the term "lamp", it is able to show the the suggestion "lamp desk" as the suggestion is starting with the word "lamp". However, when I search for the term "desk", it doesn't show any suggestion. My field in the *managed-schema* is as below: My controller in *solconfig.xml* is defined as the following: default FuzzyLookupFactory test.dict suggest_field true 10 suggest The *query* I fire is: http://localhost:8983/solr/core1/suggest?q=desk&suggest.build=true is there anyway, I can get the above scenario working? Many thanks, Niraj --f403045f769a400d490558594e28--