Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D081A19730 for ; Mon, 7 Mar 2016 14:54:34 +0000 (UTC) Received: (qmail 11088 invoked by uid 500); 7 Mar 2016 14:54:30 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 11015 invoked by uid 500); 7 Mar 2016 14:54:30 -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 10998 invoked by uid 99); 7 Mar 2016 14:54:30 -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, 07 Mar 2016 14:54:30 +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 F1C831800EC for ; Mon, 7 Mar 2016 14:54:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 mx2-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 EsWJiZmG1Mm5 for ; Mon, 7 Mar 2016 14:54:28 +0000 (UTC) Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 79A8C5F2EF for ; Mon, 7 Mar 2016 14:54:27 +0000 (UTC) Received: by mail-vk0-f54.google.com with SMTP id e6so119274476vkh.2 for ; Mon, 07 Mar 2016 06:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=p+37qEioqD7wq1D/EVyDhT68OXWSdtxwjjG9KYLStQk=; b=fMVuqnXlTwmuvUPMJHyZGFLkLhVwqzqjCXMLxbd0UdnLC3VPhMAQNJl0BlJfWJ4Dv9 wh91S9mF/XtSJveqMIcB1DmAZwcEo7/YgyaEPWA5y8enojAGSkLea0hDOL9TwIYW+iPX lcaPnoqD1LGdBkg0wfHgaLSNmi6DT8c7IfXKpeiOf0VpG2zy8mPCGSRouB8xzJWgr5im CJqFVxihzXkXCR/TR8xrMuXrvN6jhU7iiab77OQCdC5MgJb105CZhj7oM3UMH4jUJpAj 1di3hF7wisSGAbK4Ih7OYEHVEOB/OAa/QstgnM75R+vRGu2x4UaUDyFE3OdxJQjhFgcd u11w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=p+37qEioqD7wq1D/EVyDhT68OXWSdtxwjjG9KYLStQk=; b=ccYPUXpxdpK/t3pQKjwqEdGnhmOynmsFFQbH1z/rv3cRr/omcKMkR211reHuf6N+ri IXQTLjXPG6D4W1m0Z4R3bU4Y0yvU8GTwq9BLs/v4X4BkRp1EuVqA1BMz3h5xnNY8VNAd jndYofYQG70mKTvNlhMxIvffOmUkBV1RJpMIzPOr0wYN/LjqnXxXBoC9MnHjWSbM6R9N XT0cpou6uqBSgY8UBtJ5pGem7CxK0zeV1YmYw62d/dWcFQGyLrORO1iVwxanw1lBwzTs djWzfS/dXuwAdgZB/5ysrdLAWdkS8Cj6G0/Hsf7d0+tAPfAi8h0IHnfvvsrvYdXVP/IM gkGw== X-Gm-Message-State: AD7BkJLj3VCCXgTEdFYLG2aueuCMhhtlubT1JYAv1Kv/YX2ZGBrb1PBcbcPW28VstpkgJl2C+oguVE6L+2Y1mQ== MIME-Version: 1.0 X-Received: by 10.31.8.205 with SMTP id 196mr21428042vki.144.1457362466473; Mon, 07 Mar 2016 06:54:26 -0800 (PST) Received: by 10.31.54.13 with HTTP; Mon, 7 Mar 2016 06:54:26 -0800 (PST) In-Reply-To: <8B9BE879D2A8964E896F0448525CAAEE018D47AB@PRD-MSG-EXMB-9.ceb.com> References: <8B9BE879D2A8964E896F0448525CAAEE018D47AB@PRD-MSG-EXMB-9.ceb.com> Date: Mon, 7 Mar 2016 09:54:26 -0500 Message-ID: Subject: Re: Text search NGram From: Jack Krupansky To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a1144f9121fc14f052d76a403 --001a1144f9121fc14f052d76a403 Content-Type: text/plain; charset=UTF-8 The charFilter isn't doing anything useful - the white space tokenzier will ignore extra white space anyway. -- Jack Krupansky On Mon, Mar 7, 2016 at 5:44 AM, G, Rajesh wrote: > Hi Team, > > We have the blow type and we have indexed the value "title": "Microsoft > Visual Studio 2006" and "title": "Microsoft Visual Studio 8.0.61205.56 > (2005)" > > When I search for title:(Microsoft Visual AND Studio AND 2005) I get > Microsoft Visual Studio 8.0.61205.56 (2005) as the second record and > Microsoft Visual Studio 2006 as first record. I wanted to have Microsoft > Visual Studio 8.0.61205.56 (2005) listed first since the user has searched > for Microsoft Visual Studio 2005. Can you please help?. > > We are using NGram so it takes care of misspelled or jumbled words[it > works as expected] > e.g. > searching Micrs Visual Studio will gets Microsoft Visual Studio > searching Visual Microsoft Studio will gets Microsoft Visual Studio > > positionIncrementGap="0" > > > class="solr.PatternReplaceCharFilterFactory" pattern="\s+" replacement=" "/> > class="solr.WhitespaceTokenizerFactory"/> > class="solr.LowerCaseFilterFactory"/> > minGramSize="2" maxGramSize="800"/> > > > class="solr.PatternReplaceCharFilterFactory" pattern="\s+" replacement=" "/> > class="solr.WhitespaceTokenizerFactory"/> > class="solr.LowerCaseFilterFactory"/> > minGramSize="2" maxGramSize="800"/> > > > > > > Corporate Executive Board India Private Limited. Registration No: > U741040HR2004PTC035324. Registered office: 6th Floor, Tower B, DLF Building > No.10 DLF Cyber City, Gurgaon, Haryana-122002, India.. > > > > This e-mail and/or its attachments are intended only for the use of the > addressee(s) and may contain confidential and legally privileged > information belonging to CEB and/or its subsidiaries, including CEB > subsidiaries that offer SHL Talent Measurement products and services. If > you have received this e-mail in error, please notify the sender and > immediately, destroy all copies of this email and its attachments. The > publication, copying, in whole or in part, or use or dissemination in any > other way of this e-mail and attachments by anyone other than the intended > person(s) is prohibited. > > > --001a1144f9121fc14f052d76a403--