karl wettin wrote:

On Wed, 2006-07-26 at 16:33 -0400, Michael J. Prichard wrote:
If I want to search an email address (i.e. [EMAIL PROTECTED]) do I need to Tokenize that field?

Do you want to match on the full address only, or on parts too? If A, don't tokenize. If B, tokenize. And write an analyzer that will handle it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

I am using a StandardAnalyzer which (i think) keeps the email intact. I think the most I need to do is a PrefixQuery. Will that work w/ UN_TOKENIZED?

Now, say I do want to search on parts...I guess my analyzer would have to break the email apart as follows:

[EMAIL PROTECTED] --> [michael] [foo] [com]
??

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to