Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 38204 invoked from network); 14 Nov 2010 15:06:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Nov 2010 15:06:56 -0000 Received: (qmail 21371 invoked by uid 500); 14 Nov 2010 15:07:24 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 21120 invoked by uid 500); 14 Nov 2010 15:07:24 -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 21111 invoked by uid 99); 14 Nov 2010 15:07:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Nov 2010 15:07:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of parsa.ghaffari@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Nov 2010 15:07:17 +0000 Received: by qyk29 with SMTP id 29so1802962qyk.14 for ; Sun, 14 Nov 2010 07:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=7ULYmLTKsrksf8rohabhHB21rnvgGmOIMM3knhEcvoQ=; b=hUbzr4lsfq+G4oVb0qvWGtEvmOgTolbFozvF9q44ExjCap/+r2rzJyk/niY5Znt4sK l6sdpl3MCX9q3iPGrO9Idbxa3ApgPou6/vKLABNVZg3tI2i3oCQ/6KO1dM1dSTqUY4mO T+NQFT/Z4ELZtk9B+RnC/DyFrhG/HGtDWvjWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=nV4I9ATU8+GaaztGTwx1eSESpLF96GUXonZjaCJg5wB6wg/CDoKdHoHi1oEx/llJlb 0oEDzFB1eYazbyucORc/w6lsKnQv2dhWuTZyTTMV38ZwC6/i+aNvP0tAgV5FMt/DyH7A UFN6+T7JRjRTjXJoK+SOdWiS+T4FdFel3+PNM= Received: by 10.229.246.83 with SMTP id lx19mr4184242qcb.10.1289747216430; Sun, 14 Nov 2010 07:06:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.221.201 with HTTP; Sun, 14 Nov 2010 07:06:36 -0800 (PST) In-Reply-To: <200823.6978.qm@web52906.mail.re2.yahoo.com> References: <200823.6978.qm@web52906.mail.re2.yahoo.com> From: Parsa Ghaffari Date: Sun, 14 Nov 2010 23:06:36 +0800 Message-ID: Subject: Re: Solr TermsComponent: space in term To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=00163628480aaf7609049504ac91 --00163628480aaf7609049504ac91 Content-Type: text/plain; charset=ISO-8859-1 Hi Ahmet, This is the fieldType for "name": and: there's no ShingleFilterFactory. And also after changing parameters in the schema, should one re-index the table? On Sun, Nov 14, 2010 at 10:32 PM, Ahmet Arslan wrote: > > I'm using Solr 1.4.1 and I'm willing to use TermsComponent > > for AutoComplete. > > The problem is, I can't get it to match strings with spaces > > in them. So to > > say, > > > > > terms.fl=name&terms.lower=david&terms.prefix=david&terms.lower.incl=false&indent=true&wt=json > > > > matches all strings starting with "david" but if I change > > it to: > > > > > terms.fl=name&terms.lower=david%20&terms.prefix=david%20&terms.lower.incl=false&indent=true&wt=json > > > > it doesn't match all strings starting with "david ". Is it > > meant to be that > > way? > > This is about fielyType of name? What is it? If it does have > ShingleFilterFactory in it, then this is expected. > > > > -- Parsa B. Ghaffari --00163628480aaf7609049504ac91--