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 72201200C59 for ; Mon, 17 Apr 2017 20:12:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F1CE160BAB; Mon, 17 Apr 2017 18:12:41 +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 B69C9160B92 for ; Mon, 17 Apr 2017 20:12:40 +0200 (CEST) Received: (qmail 5699 invoked by uid 500); 17 Apr 2017 18:12:39 -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 5681 invoked by uid 99); 17 Apr 2017 18:12:38 -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, 17 Apr 2017 18:12:38 +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 72EBA18FCEF for ; Mon, 17 Apr 2017 18:12:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.647 X-Spam-Level: X-Spam-Status: No, score=-0.647 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.796, SPF_PASS=-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-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 ow3rgpsE3Hx7 for ; Mon, 17 Apr 2017 18:12:37 +0000 (UTC) Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D23B55FBA7 for ; Mon, 17 Apr 2017 18:12:36 +0000 (UTC) Received: by mail-wr0-f181.google.com with SMTP id c55so87693343wrc.3 for ; Mon, 17 Apr 2017 11:12:36 -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=ltoDY7Zsyf4KOEfh8xZ4X5ptSUxKlD3YUuCUrVlkJvc=; b=cVHGj2q83rXi6A4byULWvkw+LfL0HUWuNJCSU9PfNPy6HE9O3t6nRFgbo7Ccin7ZS6 UZcqMb1r/ng6k2UxdNT9TlC0Jhh5g00wZUGkgi78W1z7zh1kBDTbjfapBIY3/uV+nnT+ E68KmziBk2kAFHA/0imdI+Fr6nb1QC9fvH3nusk+47r+zg5F9+bVZfCeZUsyLCwF/813 N8kkYnmN97+kqRk97dZwj1jlpAX2C3Z7dpCG/CHlbaqcfWVadWWBhI2/1CwEaylWWRwT ZOEoWQf2H3e4peqI+bRz5O8cg1zxJ1k5cR+UJmWDv4IXo6PUTbpNhkojOP82Ng890gXu eYug== 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=ltoDY7Zsyf4KOEfh8xZ4X5ptSUxKlD3YUuCUrVlkJvc=; b=MLESfW1GiMVHkr4LdN08DMG6pLX1LY0bcvCRdjIy51vKfQYqxdy7ArLYlhv6coY2+H XL+tMo2VsBsS+YhPwH8b3kPy8ydRHqeLaHV8leBtvNxNTnMHCoITpl9orICEyVlgS/wJ 7C/ldZTP59pLdSJd1G0UV9UIZ2ZpuhEzgLtlwSdAYWRgpziqUQlurr9i8sD7DxKmhh8k f2cnD+X5RZS80comj4gIKAqSi9XbVt2qHl6B7HaZy/KdTJvJd3oFWbGDBSp6HMQeUEFI xcTHzVWygBvd2RTuTTtg5ozo87s/s/VqhSEPHrqwmymv8plRjVFW0Chu/Q0BuODV9MsS AqMQ== X-Gm-Message-State: AN3rC/6XH8Ugrde3QXkfC7FLooVocQLN4vT1AaV9eBTEW+XxnDOcpW/f aiqSTyKBFBk2ev3Ubtvc5ffTHFsBNQ== X-Received: by 10.223.130.150 with SMTP id 22mr19465085wrc.89.1492452755695; Mon, 17 Apr 2017 11:12:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.171.226 with HTTP; Mon, 17 Apr 2017 11:12:35 -0700 (PDT) In-Reply-To: References: From: OTH Date: Mon, 17 Apr 2017 23:12:35 +0500 Message-ID: Subject: Re: Need help with Query Syntax To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a114bf72058f666054d60bc18 archived-at: Mon, 17 Apr 2017 18:12:41 -0000 --001a114bf72058f666054d60bc18 Content-Type: text/plain; charset=UTF-8 Ok. What analyzer / fieldtype should I use to be able to search across tokens? Basically, I'm just trying to replicate the functionality of the AnalyzingInfixLookupFactor Suggester, but I need to do it using a regular index, because I need to utilize multiple fields using edismax bq, which seems to not be possible with the Suggester Thanks On Mon, Apr 17, 2017 at 10:46 PM, Binoy Dalal wrote: > Use the analyser available in the solr admin console to find out exactly > how your query is analysed. That should give you a lot more information. > > On Mon 17 Apr, 2017, 21:58 OTH, wrote: > > > Ok, I get it now, it's because the field has been indexed as tokens. So > > maybe I should use a field which does not have a tokenizer index? I'll > try > > something like that. Thanks > > > > On Mon, Apr 17, 2017 at 9:16 PM, OTH wrote: > > > > > The field type is "text_general". > > > > > > On Mon, Apr 17, 2017 at 7:15 PM, Binoy Dalal > > > wrote: > > > > > >> I think it returns everything because your query matches *san or " *". > > >> What is your field type definition? > > >> > > >> On Mon 17 Apr, 2017, 19:12 OTH, wrote: > > >> > > >> > If I submit the query: > > >> > "select?q=field:*san*" > > >> > Then it works as expected; returning all values in the field which > > >> contain > > >> > the string "san". > > >> > > > >> > However if I submit: > > >> > "select?q=field:*san *" > > >> > It then seems to return all the values of the field, regardless of > > what > > >> the > > >> > value is (!) > > >> > > > >> > I only wish in this case to get the values which contain the string > > >> "san ", > > >> > but I'm unable to achieve that. > > >> > > > >> > Thanks > > >> > > > >> -- > > >> Regards, > > >> Binoy Dalal > > >> > > > > > > > > > -- > Regards, > Binoy Dalal > --001a114bf72058f666054d60bc18--