You don't. You don't have an actual term "emp-id" in your index. You
have "emp" and "id". So "emp-id" isn't a term.
If you really want to control this sort of thing, and none of the
stock analyzers work exactly as you require, you need to write
your own Analyzer that breaks the stream however you
Hi,
Thanks for your reply.
But how do I get termfreq of that term("emp-id")? Does Lucene have any
other way to handle this?
I appreciate any solution regarding this problem.
Regards
SenthilKumaran
On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
You are right!
"emp-id" w
You are right!
"emp-id" will be separated to two terms CONTENT:"emp" CONTENT:"id" by
standard tokenizer for indexing and searching. But direct writing term
(CONTENT:"emp-id") will not.
Andy
-Original Message-
From: SK R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 5:24 PM