Does anyone know of an awesome Email analyzer for Lucene?
I really have to imagine someone has already created an email analyzer that given the email "b...@mcrosoft.com" would create the following terms: b...@microsoft.com, microsoft.com, bill, microsoft I'd hate to end up reinvent the wheel by creating a hand rolled analyzer for this.
On Fri, May 4, 2012 at 5:35 PM, Chris Marisic <ch...@marisic.com> wrote:
> Does anyone know of an awesome Email analyzer for Lucene?
> I really have to imagine someone has already created an email analyzer
> that given the email "b...@mcrosoft.com" would create the following
> terms: b...@microsoft.com, microsoft.com, bill, microsoft I'd hate to end
> up reinvent the wheel by creating a hand rolled analyzer for this.
> On Fri, May 4, 2012 at 5:35 PM, Chris Marisic <ch...@marisic.com> wrote:
>> Does anyone know of an awesome Email analyzer for Lucene?
>> I really have to imagine someone has already created an email analyzer >> that given the email "b...@mcrosoft.com" would create the following >> terms: b...@microsoft.com, microsoft.com, bill, microsoft I'd hate to >> end up reinvent the wheel by creating a hand rolled analyzer for this.
1. I have to write this in my index map: Email = new object[] {user.Email, user.Email.Split('@') } // without the "object[]" it does not compile 2. Email becomes an array of strings and I can't query it with Where(x => x.Email = "m...@domain.com")
>> On Fri, May 4, 2012 at 5:35 PM, Chris Marisic <ch...@marisic.com<javascript:> >> > wrote:
>>> Does anyone know of an awesome Email analyzer for Lucene?
>>> I really have to imagine someone has already created an email analyzer >>> that given the email "bi...@mcrosoft.com <javascript:>" would create >>> the following terms: bi...@microsoft.com <javascript:>, microsoft.com, >>> bill, microsoft I'd hate to end up reinvent the wheel by creating a hand >>> rolled analyzer for this.
On Tuesday, September 11, 2012 2:22:41 PM UTC-4, Nick wrote:
> But:
> 1. I have to write this in my index map: > Email = new object[] {user.Email, user.Email.Split('@') } // without > the "object[]" it does not compile > 2. Email becomes an array of strings and I can't query it with Where(x => > x.Email = "m...@domain.com <javascript:>")
> Note: I have a Reduce part in my index.
> On Friday, May 4, 2012 11:40:40 AM UTC-4, Chris Marisic wrote:
>> Hmm, hadn't thought about just generating the terms i want myself like >> that!
>> On Friday, May 4, 2012 10:38:54 AM UTC-4, Oren Eini wrote:
>>> On Fri, May 4, 2012 at 5:35 PM, Chris Marisic <ch...@marisic.com> wrote:
>>>> Does anyone know of an awesome Email analyzer for Lucene?
>>>> I really have to imagine someone has already created an email analyzer >>>> that given the email "bi...@mcrosoft.com" would create the following >>>> terms: bi...@microsoft.com, microsoft.com, bill, microsoft I'd hate to >>>> end up reinvent the wheel by creating a hand rolled analyzer for this.
On Tuesday, September 11, 2012 2:34:18 PM UTC-4, Chris Marisic wrote:
> I'm pretty sure you want to do
> Where(x=> x.Email.In(searchterm))
> On Tuesday, September 11, 2012 2:22:41 PM UTC-4, Nick wrote:
>> But:
>> 1. I have to write this in my index map: >> Email = new object[] {user.Email, user.Email.Split('@') } // >> without the "object[]" it does not compile >> 2. Email becomes an array of strings and I can't query it with Where(x => >> x.Email = "m...@domain.com")
>> Note: I have a Reduce part in my index.
>> On Friday, May 4, 2012 11:40:40 AM UTC-4, Chris Marisic wrote:
>>> Hmm, hadn't thought about just generating the terms i want myself like >>> that!
>>> On Friday, May 4, 2012 10:38:54 AM UTC-4, Oren Eini wrote:
>>>> On Fri, May 4, 2012 at 5:35 PM, Chris Marisic <ch...@marisic.com>wrote:
>>>>> Does anyone know of an awesome Email analyzer for Lucene?
>>>>> I really have to imagine someone has already created an email analyzer >>>>> that given the email "bi...@mcrosoft.com" would create the following >>>>> terms: bi...@microsoft.com, microsoft.com, bill, microsoft I'd hate >>>>> to end up reinvent the wheel by creating a hand rolled analyzer for this.
On Tuesday, September 11, 2012 2:57:40 PM UTC-4, Nick wrote:
> ok, but when I have my query results and I want to display result.Email, I > don't get the original email since this is now an array of terms...
> On Tuesday, September 11, 2012 2:34:18 PM UTC-4, Chris Marisic wrote:
>> I'm pretty sure you want to do
>> Where(x=> x.Email.In(searchterm))
>> On Tuesday, September 11, 2012 2:22:41 PM UTC-4, Nick wrote:
>>> But:
>>> 1. I have to write this in my index map: >>> Email = new object[] {user.Email, user.Email.Split('@') } // >>> without the "object[]" it does not compile >>> 2. Email becomes an array of strings and I can't query it with Where(x >>> => x.Email = "m...@domain.com")
>>> Note: I have a Reduce part in my index.
>>> On Friday, May 4, 2012 11:40:40 AM UTC-4, Chris Marisic wrote:
>>>> Hmm, hadn't thought about just generating the terms i want myself like >>>> that!
>>>> On Friday, May 4, 2012 10:38:54 AM UTC-4, Oren Eini wrote:
>>>>> On Fri, May 4, 2012 at 5:35 PM, Chris Marisic <ch...@marisic.com>wrote:
>>>>>> Does anyone know of an awesome Email analyzer for Lucene?
>>>>>> I really have to imagine someone has already created an email >>>>>> analyzer that given the email "bi...@mcrosoft.com" would create the >>>>>> following terms: bi...@microsoft.com, microsoft.com, bill, microsoft >>>>>> I'd hate to end up reinvent the wheel by creating a hand rolled analyzer >>>>>> for this.