lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael J. Prichard" <michael_prich...@mac.com>
Subject To Tokenize or Un_Tokenize?
Date Wed, 26 Jul 2006 20:33:10 GMT
If I want to search an email address (i.e. michael@foo.com) do I need to 
Tokenize that field?

doc.add(new Field("from", (String) itemContent.get("from"), 
Field.Store.YES, Field.Index.TOKENIZED));

-OR-

doc.add(new Field("from", (String) itemContent.get("from"), 
Field.Store.YES, Field.Index.UN_TOKENIZED));

Thx.
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message