Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-24 Thread Jianshuo Niu
You also need to change standard tokenizer. Hope this help. /victor - Original Message - From: Jianshuo Niu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 22, 2003 9:34 AM Subject: Re: Dash Confusion in QueryParser - Bug? Feature? Dear Victor: I read

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-24 Thread Victor Hadianto
: Jianshuo Niu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:29 AM Subject: Re: Dash Confusion in QueryParser - Bug? Feature? Dear Victor: I applied the changed based on the patch. Also, I got t-shirt in the search query. I rebuilt the search index using the modified

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-24 Thread Jianshuo Niu
: Dash Confusion in QueryParser - Bug? Feature? Date: Wed, 15 Oct 2003 10:51:28 +1000 Lines: 14 Approved: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] Reply-To: Lucene Users List [EMAIL PROTECTED] NNTP-Posting-Host: deer.gmane.org X-Trace

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-23 Thread Victor Hadianto
. Hope this help. /victor - Original Message - From: Jianshuo Niu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 22, 2003 9:34 AM Subject: Re: Dash Confusion in QueryParser - Bug? Feature? Dear Victor: I read your post on lucene bug list. However, I try the change

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-21 Thread Jianshuo Niu
and help Jianshuo On Wed, 15 Oct 2003 10:51:28 +1000, Victor Hadianto wrote: Path: main.gmane.org!not-for-mail From: Victor Hadianto [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.lucene.user Subject: Re: Dash Confusion in QueryParser - Bug? Feature? Date: Wed, 15 Oct 2003 10:51:28 +1000

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-11-21 Thread Erik Hatcher
On Friday, November 21, 2003, at 02:34 PM, Jianshuo Niu wrote: I read  your post on lucene bug list. However, I try the change you suggested, but it just changed t-shirts to shirt. What Analyzer are you using? - To unsubscribe,

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-10-20 Thread Erik Hatcher
On Wednesday, October 15, 2003, at 10:24 AM, Michael Giles wrote: So how do we move this issue forward. I can't think of a single case where a - with no whitespace on either side (i.e. t-shirt, Wal-Mart) should be interpreted as a NOT command. Is there a feeling that changing the

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-10-15 Thread Ulrich Mayring
Victor Hadianto wrote: If the QueryParser implemented the solution that I suggested then t-shirt will get you the correct hits :) Well, what's the problem? I saw a couple of +1s, so why is your patch not added? Ulrich - To

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-10-15 Thread Erik Hatcher
I agree that the current behavior is broken and will gladly patch it myself. I'm CC'ing lucene-dev to see if there are any objections. If there are no objections, I'll apply this patch in a couple of days. Erik On Wednesday, October 15, 2003, at 10:24 AM, Michael Giles wrote: So how do we

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-10-14 Thread Michael Giles
So what do we need to do to resolve this? Has the discussion stopped because this is the user list and not dev or did it move over to the dev list? -Mike At 03:49 AM 10/13/2003, you wrote: Michael Giles wrote: He is probably using the StandardAnalyzer. I was about to write the exact same

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-10-14 Thread Victor Hadianto
- Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 10:01 AM Subject: Re: Dash Confusion in QueryParser - Bug? Feature? On Saturday, October 11, 2003, at 09:44 AM, Michael Giles wrote: He is probably

Dash Confusion in QueryParser - Bug? Feature?

2003-10-10 Thread Ulrich Mayring
Hello, when I search for MS-Word I get all the documents that contain exactly that word, which is good. If, however, I search for MS-Word (without the quotes), then the MultiFieldQueryParser restructures the query to MS -Word and I consequently get all documents that contain MS and not Word.

Re: Dash Confusion in QueryParser - Bug? Feature?

2003-10-10 Thread Erik Hatcher
On Friday, October 10, 2003, at 04:30 AM, Ulrich Mayring wrote: when I search for MS-Word I get all the documents that contain exactly that word, which is good. If, however, I search for MS-Word (without the quotes), then the MultiFieldQueryParser restructures the query to MS -Word and I