lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miztaken <justjunkt...@gmail.com>
Subject Re: Store/Index Email Address in Lucene
Date Fri, 04 Jul 2008 06:42:54 GMT

Hi there,
Thanks for the comment.
So basically it will be lame to add new field for each email address, wont
it?

How about getting unique tokens from string of email addresses using
EmailFilter.java class and storing it in as a single field ?




Jamie-52 wrote:
> 
> 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@abc.com; dcd@cbd.com; john hopkings; anything@anything.com"
>>
>> 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@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Store-Index-Email-Address-in-Lucene-tp18257247p18273786.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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