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 8FF9F10B3F for ; Tue, 2 Jul 2013 21:11:06 +0000 (UTC) Received: (qmail 39637 invoked by uid 500); 2 Jul 2013 21:11:03 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 39592 invoked by uid 500); 2 Jul 2013 21:11:03 -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 39579 invoked by uid 99); 2 Jul 2013 21:11:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 21:11:00 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_IMAGE_ONLY_24,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_REMOTE_IMAGE X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.219.49] (HELO mail-oa0-f49.google.com) (209.85.219.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 21:10:56 +0000 Received: by mail-oa0-f49.google.com with SMTP id n9so6989956oag.8 for ; Tue, 02 Jul 2013 14:10:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=nhik8Ym/qYXkmn6LbOPbNTt4xRTZWQ+C7vrO9Id+A+w=; b=ceZ+flt1fHkXqyTerexgIhMdapYIph5swC3hq7iSd5SJssmK1P2ToIBIYtlFqdK2pc ia0JNzcEenfSIPEMDImMGnIt4P2BMX39QGVsDS4T/neDuLxE6qAtuQ/yt9kEI9VxFcz2 DSzRYRrNv0JTPYJHsfnTSBfBKYKFpMHpBmAKb2hLHYC0JQZTOIXZ6RnCJt5jQF+oMkMb I8RB/ddrdvNAVmRXDnfhCE5MyMyUyNciNjNPjjIkk5BAw53oZ387ocRsVozujr3kQnPV m5M28EkTHcNpiu5moZ4MrHt4tsoiZc1mEdW7pjn3HHspTyA3fbTbAieZy5MBE4RqkVsJ 9T1w== MIME-Version: 1.0 X-Received: by 10.60.132.40 with SMTP id or8mr5104993oeb.65.1372799415519; Tue, 02 Jul 2013 14:10:15 -0700 (PDT) Received: by 10.76.144.9 with HTTP; Tue, 2 Jul 2013 14:10:15 -0700 (PDT) Date: Tue, 2 Jul 2013 14:10:15 -0700 Message-ID: Subject: Partial Matching in both query and field From: James Bathgate To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7b471e5a82b2e504e08dc5c8 X-Gm-Message-State: ALoCoQmEwm1nwPLTjuAGOrnnSF0OeslnAV5UTasAjAV0S+ElZHdNiSIzy6IcZQSuhWTQCE9F6+ap X-Virus-Checked: Checked by ClamAV on apache.org --047d7b471e5a82b2e504e08dc5c8 Content-Type: text/plain; charset=ISO-8859-1 Given a string of "123456" and a search query "923459", what should the schema look like to consider this a match because at least 4 consecutive in characters the query match 4 consecutive characters in the data? I'm trying an NGramFilterFactory on the index and NGramTokenizerFactory on the query in the schema, but that's not working. I believe the problem is 'field:923459' is parsed as 'field:"9234 2345 3459"' instead of 'field:9234 field:2345 field:3459'. [image: SearchSpring | Findability Unleashed] James Bathgate | Sr. Developer Toll Free (888) 643-9043 x610 - Fax (719) 358-2027 4291 Austin Bluffs Pkwy #206 | Colorado Springs, CO 80918 www.searchspring.net --047d7b471e5a82b2e504e08dc5c8--