Re: filed type for text search

2012-07-25 Thread Lance Norskog
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 shinelee.thew...@gmail.com 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
goks...@gmail.com


filed type for text search

2012-07-24 Thread Xiao Li
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?