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 CB29A9F73 for ; Wed, 25 Jul 2012 07:25:26 +0000 (UTC) Received: (qmail 25223 invoked by uid 500); 25 Jul 2012 07:25:23 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 24669 invoked by uid 500); 25 Jul 2012 07:25:22 -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 24642 invoked by uid 99); 25 Jul 2012 07:25:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 07:25:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of goksron@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 07:25:14 +0000 Received: by obbtb18 with SMTP id tb18so880249obb.35 for ; Wed, 25 Jul 2012 00:24:53 -0700 (PDT) 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 :content-type; bh=NJ/yojmAqrBUVC1pIs2bmOABmkxk/1bQ7YO/DAtgniQ=; b=gARNDwsTOKC12laGTvxhqFONfSVynGRoFalfGriiEJOyGohYazvxqY2k3GF08MJwG4 yww3TRHVEHsEkxQYtv8yuOG4VZQ/WsfxvGsVvLLgJfo4Z0544121jmjzr2gVaQIv2eEI BjN0LZAELuVgI+vbZ9++hrGFVgpgW/zUPClaElkGHp7SYbiqrrWGZhl+Y4G1Pqx1JFmj 9yUVXATTmFTvP1ohjIKOrahoLh9kyaRJhVh6GgeolJ/TBx+YMY7ypU6y241CouSldl85 MgEM5k4k5486e0lHJc2qbi5MvjFN746yceJNObHL9jYSZWaK3qAHRFKrEC4WTcMkuSI7 ImpA== MIME-Version: 1.0 Received: by 10.182.167.41 with SMTP id zl9mr32340670obb.43.1343201093010; Wed, 25 Jul 2012 00:24:53 -0700 (PDT) Received: by 10.50.41.234 with HTTP; Wed, 25 Jul 2012 00:24:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Jul 2012 00:24:52 -0700 Message-ID: Subject: Re: filed type for text search From: Lance Norskog To: solr-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 String fields can be searched, but you have to give the complete string, or a wildcard. And the upper/lower case has to be right. On Tue, Jul 24, 2012 at 11:13 AM, Xiao Li wrote: > I have used Solr 3.4 for a long time. Recently, when I upgrade to Solr 4.0 > and reindex the whole data, I find that the fields which are specified as > string type can not be searched by q parameter. If I just change the type > to text_general, it works. So my question is for Solr 4.0, must I set the > field type of text_general for text search? -- Lance Norskog goksron@gmail.com