RE: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1)

2009-06-02 Thread Zhang, Lisheng
Thanks very much!!! -Original Message- From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] Sent: Tuesday, June 02, 2009 9:42 AM To: java-user@lucene.apache.org Subject: Re: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1) Lisheng, A patch file is just a text

Re: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1)

2009-06-02 Thread Otis Gospodnetic
r - Nutch - Original Message > From: "Zhang, Lisheng" > To: java-user@lucene.apache.org > Sent: Tuesday, June 2, 2009 12:35:15 PM > Subject: RE: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1) > > Thanks very much, this could be the same issu

RE: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1)

2009-06-02 Thread Zhang, Lisheng
ne.jp] Sent: Monday, June 01, 2009 10:39 PM To: java-user@lucene.apache.org Subject: Re: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1) I'm not sure this is the same case, but there is a report and patch for CJKTokenizer in JARA: https://issues.apache.org/jira/browse/

Re: Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1)

2009-06-01 Thread Koji Sekiguchi
I'm not sure this is the same case, but there is a report and patch for CJKTokenizer in JARA: https://issues.apache.org/jira/browse/LUCENE-973 Koji Zhang, Lisheng wrote: Hi, When I use lucene 2.4.1 QueryParser with CJKAnalyzer, somehow it always generates an extra space, for example, if the

Possible bug in QueryParser when using CJKAnalyzer (lucene 2.4.1)

2009-06-01 Thread Zhang, Lisheng
Hi, When I use lucene 2.4.1 QueryParser with CJKAnalyzer, somehow it always generates an extra space, for example, if the input is "ABC", the query would be: myfield"AB BC " // should be myfield:"AB BC" If I create PhraseQuery directly it does work. From Luke I know indexing works OK. In lucene