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.pri
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[]{"
Hi James,
On 10/23/2008 at 8:30 AM, James liu wrote:
> public class AnalyzerTest {
>@Test
>public void test() throws ParseException {
>QueryParser parser = new MultiFieldQueryParser(new String[]{"title",
> "body"}, new StandardAnalyzer());
>Query query1 = parser.parse("中文"
thks steve, i get it.
2008/10/24 Steven A Rowe <[EMAIL PROTECTED]>
> Hi James,
>
> On 10/23/2008 at 8:30 AM, James liu wrote:
> > public class AnalyzerTest {
> >@Test
> >public void test() throws ParseException {
> >QueryParser parser = new MultiFieldQueryParser(new
> String[]{"ti