Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 61851 invoked from network); 1 Aug 2010 12:40:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Aug 2010 12:40:25 -0000 Received: (qmail 47524 invoked by uid 500); 1 Aug 2010 12:40:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 47116 invoked by uid 500); 1 Aug 2010 12:40:19 -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 47108 invoked by uid 99); 1 Aug 2010 12:40:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 12:40:18 +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 erickerickson@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qy0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 12:40:13 +0000 Received: by qyk9 with SMTP id 9so6493262qyk.14 for ; Sun, 01 Aug 2010 05:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=njoYxdTKWxfwQb6X47ZA1WHkDxVx+rWCriuQMA4Kvi8=; b=PfEG0L1i6bTGqBBsje22lHcn5kG5tvC6jbDLM0hPQBPDRcfH5pKfAnjfMwrwI8SvuU YANJsMxMd66frsl7dQms4VY1Ux1yXWfhDiRhF1sinfuvrnbLJNpU10sWMZSeeGn1j9BS fklde1lKB05lJSkxmzM0ilR7+kf7OiYIDviz0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EbYUtso/9YWc2I5rLkLXOJPxoxbXa5SnCRgSDHHOUY5whehcRgdRVr+pv/h12jCBhS JegVr652DSZhq0zNQVQioRCCgGqI0HEq56YQfQb4joHXuRfBDIwqU2Y/2rehw4i4pbfr cKd6jTjKApRgf+Nmayzrp0XOCfkVZJ6b19EE8= MIME-Version: 1.0 Received: by 10.220.157.140 with SMTP id b12mr3092222vcx.156.1280666392325; Sun, 01 Aug 2010 05:39:52 -0700 (PDT) Received: by 10.220.177.70 with HTTP; Sun, 1 Aug 2010 05:39:52 -0700 (PDT) In-Reply-To: References: Date: Sun, 1 Aug 2010 08:39:52 -0400 Message-ID: Subject: Re: myField:value does not seem to work From: Erick Erickson To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=e0cb4e8877d763edcf048cc261e4 --e0cb4e8877d763edcf048cc261e4 Content-Type: text/plain; charset=ISO-8859-1 A very useful page: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters Best Erick On Thu, Jul 29, 2010 at 6:44 PM, Khai Doan wrote: > Thank you all. > > Khai > > On Thu, Jul 29, 2010 at 3:38 PM, Mats Bolstad wrote: > > > Put simply, strings do not go through filters, and will need exact > > matching. A string field can typically be an ID field. > > Texts go through filters so that "bar" could match "Foo Bars", for > example. > > > > Types are well documented in the example schema.xml shipped with solr. > > You would also find more info in the wiki. > > > > On 29. juli 2010, at 22:53, Khai Doan wrote: > > > > > What are the differences between "string" and "text"? > > > > > > What other types (that are available by default) can I use? > > > > > > Thanks, > > > Khai > > > > > > On Thu, Jul 29, 2010 at 1:30 PM, Mats Bolstad > > wrote: > > > > > >> Type string is not tokenized, meaning that it would match only the > > >> exact phrase "Khai Bright T". Use text (or another) type that > > >> tokenizes (on whitespace in this case) instead. > > >> > > >> Mats Bolstad > > >> > > >> > > >> > > >> On Thu, Jul 29, 2010 at 9:55 PM, Khai Doan > wrote: > > >>> Hi Yonik, > > >>> > > >>> Here is the field definition in schema.xml: > > >>> > > >>> > > >>> > > >>> and it is populated with "Khai Bright T" > > >>> > > >>> I am using solr 1.4.1 > > >>> > > >>> Khai > > >>> > > >>> On Thu, Jul 29, 2010 at 12:49 PM, Yonik Seeley > > >>> wrote: > > >>> > > >>>> Is membername an indexed field in the schema, and was it populated > > >>>> with something that would match "Khai"? > > >>>> If so, what is the fieldType in the schema for the membername field? > > >>>> > > >>>> -Yonik > > >>>> http://www.lucidimagination.com > > >>>> > > >>>> > > >>>> On Thu, Jul 29, 2010 at 3:17 PM, Khai Doan > > wrote: > > >>>>> Hello, > > >>>>> > > >>>>> My name is Khai. I am new to Solr, and I am having a strange > issue. > > >> I > > >>>> use > > >>>>> the admin interface and search for "Khai" and it work fine. > However > > >> if I > > >>>>> type > > >>>>> > > >>>>> membername:Khai > > >>>>> > > >>>>> it does not work. > > >>>>> > > >>>>> Please provide me with hints on what the issue may be. > > >>>>> > > >>>>> Thank you, > > >>>>> > > >>>>> Khai > > >>>>> > > >>>> > > >>> > > >> > > > --e0cb4e8877d763edcf048cc261e4--