AnalyZer HELP Please

2004-08-18 Thread Karthik N S
Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 7:35 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please On Aug 17, 2004, at 9:47 AM, Karthik N S wrote: I did as Erik replied in his mail , and searched for the complete word \New Year

Re: AnalyZer HELP Please

2004-08-18 Thread Erik Hatcher
? I'll leave that as a rhetorical question for now :) Erik Thx Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 7:35 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please On Aug 17, 2004, at 9:47 AM, Karthik N S wrote: I did

RE: AnalyZer HELP Please

2004-08-18 Thread Tate Avery
? ;-) -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 6:17 AM To: Lucene Users List Subject: Re: AnalyZer HELP Please On Aug 18, 2004, at 3:41 AM, Karthik N S wrote: Hi Guys Finally with lot's experimentation, I came to know that A word

Re: AnalyZer HELP Please

2004-08-18 Thread Erik Hatcher
in a phrase query Tate p.s. Um... did you say that was a rhetorical question? ;-) -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 6:17 AM To: Lucene Users List Subject: Re: AnalyZer HELP Please On Aug 18, 2004, at 3:41 AM, Karthik N S wrote: Hi

RE: AnalyZer HELP Please

2004-08-18 Thread Tate Avery
it that way, but it certainly doesn't mean that it is THE way to be done. T -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:00 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please Thanks for doing the legwork. My favorite example

Re: AnalyZer HELP Please

2004-08-18 Thread Erik Hatcher
across that way before. Erik T -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:00 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please Thanks for doing the legwork. My favorite example is to be or not to be with and without

AnalyZer HELP Please

2004-08-17 Thread Karthik N S
Hey Guys. Apologies.. Some small Help needed When I Run the Analyzer's for the word New Year (with Quotes) on Lucene1-4 final.jar on win 2k O/s Why is the SimpleAnalyzer splitting it into 2 words ??? or am i missing something in here.. Analzying New Year

Re: AnalyZer HELP Please

2004-08-17 Thread Erik Hatcher
This is what analyzers do. I don't know of any analyzer that deals with quotes in the way you're requesting, by keeping the contents together as a complete token. You'll have to write your own variant that does this. QueryParser, however, uses quotes to denote a phrase query, and will query

RE: AnalyZer HELP Please

2004-08-17 Thread Karthik N S
the Word New Year = [New] [Year] Am I doing some thing wrong in here Thx in advance. Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 6:18 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please This is what analyzers

Re: AnalyZer HELP Please

2004-08-17 Thread Patrick Burleson
] Sent: Tuesday, August 17, 2004 6:18 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please This is what analyzers do. I don't know of any analyzer that deals with quotes in the way you're requesting, by keeping the contents together as a complete token. You'll have to write your own

Re: AnalyZer HELP Please

2004-08-17 Thread Erik Hatcher
[mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 6:18 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please This is what analyzers do. I don't know of any analyzer that deals with quotes in the way you're requesting, by keeping the contents together as a complete token. You'll have

Re: AnalyZer HELP Please

2004-08-17 Thread Erik Hatcher
On Aug 17, 2004, at 9:23 AM, Karthik N S wrote: So when I did a quick run on Analyzer process and found that it was splitting the Word New Year = [New] [Year] Am I doing some thing wrong in here No... this is what this analyzer does. QueryParser does the same thing. The difference

RE: AnalyZer HELP Please

2004-08-17 Thread Karthik N S
: AnalyZer HELP Please Karthik, What you would want to do with the split tokens ( New and Year ) is then create a PhraseQuery containing a Term object for each token. This should do what you want. As Erik said, QueryParser would have done this internally, only if you actually sent in the quotes...not just

Re: AnalyZer HELP Please

2004-08-17 Thread Erik Hatcher
On Aug 17, 2004, at 9:47 AM, Karthik N S wrote: I did as Erik replied in his mail , and searched for the complete word \New Year\ , but the QueryParser Still returns me hit for Year Only. [ The Analyzer I use has 555 English Stop words with new present in it ] No wonder! That's when I

RE: AnalyZer HELP Please

2004-08-17 Thread Karthik N S
Year , since the word 'new' is in Array STOPWORD ... [ Even if the Word is surrounded by \] With regards Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 7:35 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please

Re: AnalyZer HELP Please

2004-08-17 Thread Patrick Burleson
by \] With regards Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 7:35 PM To: Lucene Users List Subject: Re: AnalyZer HELP Please On Aug 17, 2004, at 9:47 AM, Karthik N S wrote: I did as Erik replied in his mail , and searched