It looks to me like you've got a space between the characters in the second example....
Best Erick 2008/10/23 James liu <[EMAIL PROTECTED]> > public class AnalyzerTest { > @Test > public void test() throws ParseException { > QueryParser parser = new MultiFieldQueryParser(new String[]{"title", > "body"}, new StandardAnalyzer()); > Query query1 = parser.parse("中文"); > Query query2 = parser.parse("中 文"); > System.out.println(query1); > System.out.println(query2); > } > } > > > output : > > title:"中 文" body:"中 文" > (title:中 body:中) (title:文 body:文) > > > > why they not same? > > > > -- > regards > j.L >