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
? 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
? ;-)
-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
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
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
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
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
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
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
]
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
[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
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
: 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
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
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
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
16 matches
Mail list logo