From solr-user-return-140400-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Mon Apr 9 11:41:17 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 D011F180645 for ; Mon, 9 Apr 2018 11:41:16 +0200 (CEST) Received: (qmail 20691 invoked by uid 500); 9 Apr 2018 09:41:14 -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 20673 invoked by uid 99); 9 Apr 2018 09:41:13 -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; Mon, 09 Apr 2018 09:41:13 +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 331371A008A for ; Mon, 9 Apr 2018 09:41:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.192 X-Spam-Level: *** X-Spam-Status: No, score=3.192 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, SPF_PASS=-0.001, URI_HEX=1.313] 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 Oqy8RmtNfwwd for ; Mon, 9 Apr 2018 09:41:09 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C24935F51F for ; Mon, 9 Apr 2018 09:41:08 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id t67so17731250wmt.0 for ; Mon, 09 Apr 2018 02:41:08 -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=U4ENJG5sjtOGz1jyjRjMGKVS4MSMypjvELFkR2q1i4g=; b=UEkZu0Ocn038iKw9567wWS4R+W/l6S2qYb0ctRs3i5pNecP+cEtpKASyDsDnlNce/s lcJzPieVaLeU0yrLfCCismc4KRj3zag4dL2FSHTlYqk6dYtya+t0A5NwFA5ZF7OmC2jd yneLQ6wy0s49obEVLTSYzzTL3SURGuxhiEldBY/oPZUeXX0HQF9btu7JQw2H/xjfNDNM 2Cjd0EPujvElmJEH5P96xpUrS1RCqatrnaztpUQ9jrX+4YEVpS1w1+v5JxOcmSaVepEl TnAEwmFpEmlZApiOrceNxqEoRejw4+0AiVfFDwdl0Ge87snlK4qfgaPWZtt9rHMI77pI 4X+A== 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=U4ENJG5sjtOGz1jyjRjMGKVS4MSMypjvELFkR2q1i4g=; b=HbklfTXGfeId9TgofVbbZ/DuvZpMefBssPCla2jwihlbISh3I3+7RwiO8OeVNjIsZm 0wxVqaJKHlEnOmnIL45Up5wmoWls6oO9fFl3HnS8VVKctqcPZhzyDWaXK0/rN+w4O267 cLslYuKZ0yPToVi1EPIQ97OsVyuvmzCop4ekU5czNMkcvCbwLvc2lf0tPK77IkmcgxHH T2rqxaG7TwQeE5xSCBwvDPAK0sntLE+8nZB8wrFffE4SRyj8BIDb+hSILECNogp1tumm EYHh0CTpmKrKMhAKwHCVdVm4UNocFXL51nl1qbhtlntY6PMKx3m3p4l6i3rbZnNxdUwt popg== X-Gm-Message-State: ALQs6tDFwHdkBv28pIjDbRZlgzaixGgGlPiz0UyRkQVhz5FZXLs3COl+ 0iG8pqWpifOHOU49R1jgjgDqFMKyyzpdxTZMrRY= X-Google-Smtp-Source: AIpwx4+WNGUcax2+d+39zpkYGogHfNa3gBD74txxV6vy3WgKSdOWLAkprysGMKFusMhxh2dJxlw7r22bwKu8sLVL+pY= X-Received: by 10.46.41.156 with SMTP id p28mr22226764ljp.32.1523266868068; Mon, 09 Apr 2018 02:41:08 -0700 (PDT) MIME-Version: 1.0 References: <1523217667606-0.post@n3.nabble.com> <1523221555767-0.post@n3.nabble.com> In-Reply-To: <1523221555767-0.post@n3.nabble.com> From: Adhyan Arizki Date: Mon, 09 Apr 2018 09:40:57 +0000 Message-ID: Subject: Re: Match a phrase like "Apple iPhone 6 32GB white" with "iphone 6" To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="001a114b5bb891c68c0569673454" --001a114b5bb891c68c0569673454 Content-Type: text/plain; charset="UTF-8" You can just use synonyms for that.. rather hackish but it works On Mon, 9 Apr 2018, 05:06 Sami al Subhi, wrote: > I think this filter will output the desired result: > > > > > > > > > > > > > indexing: > "iPhone 6" will be indexed as "iphone 6" (always a single token) > > querying: > so this will analyze "Apple iPhone 6 32GB white" to "apple", "apple > iphone", > "iphone", "iphone 6" and so on... > then here a match will be achieved using the 4th token. > > > I dont see how this will result in false positive matching. > > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html > --001a114b5bb891c68c0569673454--