Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Re: Store/Index Email Address in Lucene

Jamie

2008-07-04

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi miztaken

Check out:

http://openmailarchiva.svn.sourceforge.net/viewvc/openmailarchiva/Server/trunk/src/com/stimulus/archiva/search/EmailFilter.java?view=markup

I think its what you want.
> I want to index email address in such a way that i can do WildCard, Phrase
> and Simple search on those items.
>
> for each document i will have email addresses string just like in the case
> of CC and TO in mails.
> for eg "abc@(protected)"
>
> Now what is the best way to store them so that i can do various type of
> search on them.
>
> Do i need the split the email address first and further split the single
> email address as well and store them in multiple fields?
>
> What is the best way to deal such case?
>  

Regards,

Jamie

--
Stimulus Software - MailArchiva
Email Archiving And Compliance



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.