Nice, it works like a charm.
I am using solr 1.4.1. Here is my configuration for the chinese field:
<fieldType name="text_ch" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.ChineseTokenizerFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.ChineseTokenizerFactory"/>
<filter class="solr.PositionFilterFactory"/>
</analyzer>
</fieldType>
Now when I get the expected hassle free parsing on solr side:
<lst name="debug">
<str name="rawquerystring">title_zh_CN:(我活)</str>
<str name="querystring">title_zh_CN:(我活)</str>
<str name="parsedquery">title_zh_CN:我 title_zh_CN:活</str>
<str name="parsedquery_toString">title_zh_CN:我 title_zh_CN:活</str>
--
View this message in context:
http://lucene.472066.n3.nabble.com/why-query-chinese-character-with-bracket-become-phrase-query-by-default-tp2901542p2905784.html
Sent from the Solr - User mailing list archive at Nabble.com.