# Problem with searching Emails

**URL:** <https://discuss.elastic.co/t/problem-with-searching-emails/4352>\
**Category:** Elasticsearch\
**Created:** [May 5, 2011, 7:13am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352 "2011-05-05T07:13:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![senthil\_prabhu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@senthil\_prabhu](https://discuss.elastic.co/u/senthil_prabhu)\
**Post date:** [May 5, 2011, 7:13am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352/1 "2011-05-05T07:13:21Z")

</div>

hi shay,  
i have problem with searching emails in version 16.0. In  
15.2 its working. when i upgrade 16.0 i have got this problem. i  
already posted this issue.

i want to solve with existing databases(indices) that is created in  
15.2

how can i solve this problem. kindly help..

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [May 5, 2011, 8:15am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352/2 "2011-05-05T08:15:07Z")

</div>

Hi,

sorry if I missed the information, do you think you can share more about  
what kind of problems you have'?

Regards,  
Lukas

On Thu, May 5, 2011 at 9:13 AM, senthil prabhu [senthilsebi@gmail.com](mailto:senthilsebi@gmail.com)wrote:

> hi shay,  
> i have problem with searching emails in version 16.0. In  
> 15.2 its working. when i upgrade 16.0 i have got this problem. i  
> already posted this issue.
> 
> i want to solve with existing databases(indices) that is created in  
> 15.2
> 
> how can i solve this problem. kindly help..

---

<div class="post-metadata">

**Author:** ![senthil\_prabhu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@senthil\_prabhu](https://discuss.elastic.co/u/senthil_prabhu)\
**Post date:** [May 5, 2011, 8:36am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352/3 "2011-05-05T08:36:59Z")

</div>

yeah sure,  
i have field values with email ids.  
Example:-  
"from":"test mail sent by [senthil@gmail.com](mailto:senthil@gmail.com)"  
when i search this email using term query like this {"term":{"from":  
"[senthil@gmail.com](mailto:senthil@gmail.com)" }}  
i have got search result in version 15.2 but i use the same query in  
16.0 didn't get search result.

note: from field mapped with standard analyzer.

On May 5, 1:15 pm, Lukáš Vlček [lukas.vl...@gmail.com](mailto:lukas.vl...@gmail.com) wrote:

> Hi,
> 
> sorry if I missed the information, do you think you can share more about  
> what kind of problems you have'?
> 
> Regards,  
> Lukas
> 
> On Thu, May 5, 2011 at 9:13 AM, senthil prabhu [senthils...@gmail.com](mailto:senthils...@gmail.com)wrote:
> 
> > hi shay,  
> > i have problem with searching emails in version 16.0. In  
> > 15.2 its working. when i upgrade 16.0 i have got this problem. i  
> > already posted this issue.
> 
> > i want to solve with existing databases(indices) that is created in  
> > 15.2
> 
> > how can i solve this problem. kindly help..

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [May 5, 2011, 8:51am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352/4 "2011-05-05T08:51:08Z")

</div>

Hi,

I think in that case you need to change analyzer to

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

uax\_url\_email  
analyzer should handle emails as a single token. ES 0.16 uses Lucene 3.1 and  
some analyzers in 3.1 changed a bit.

Anyway, you can simply test the analyzers using

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

API.  
It will help you understand how it changed since 0.15.2.

Regards,  
Lukas

On Thu, May 5, 2011 at 10:36 AM, senthil prabhu [senthilsebi@gmail.com](mailto:senthilsebi@gmail.com)wrote:

> yeah sure,  
> i have field values with email ids.  
> Example:-  
> "from":"test mail sent by [senthil@gmail.com](mailto:senthil@gmail.com)"  
> when i search this email using term query like this {"term":{"from":  
> "[senthil@gmail.com](mailto:senthil@gmail.com)" }}  
> i have got search result in version 15.2 but i use the same query in  
> 16.0 didn't get search result.
> 
> note: from field mapped with standard analyzer.
> 
> On May 5, 1:15 pm, Lukáš Vlček [lukas.vl...@gmail.com](mailto:lukas.vl...@gmail.com) wrote:
> 
> > Hi,
> > 
> > sorry if I missed the information, do you think you can share more about  
> > what kind of problems you have'?
> > 
> > Regards,  
> > Lukas
> > 
> > On Thu, May 5, 2011 at 9:13 AM, senthil prabhu \<[senthils...@gmail.com](mailto:senthils...@gmail.com)  
> > wrote:
> > 
> > > hi shay,  
> > > i have problem with searching emails in version 16.0. In  
> > > 15.2 its working. when i upgrade 16.0 i have got this problem. i  
> > > already posted this issue.
> > 
> > > i want to solve with existing databases(indices) that is created in  
> > > 15.2
> > 
> > > how can i solve this problem. kindly help..

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [May 5, 2011, 9:09am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352/5 "2011-05-05T09:09:50Z")

</div>

On Thu, 2011-05-05 at 00:13 -0700, senthil prabhu wrote:

> hi shay,  
> i have problem with searching emails in version 16.0. In  
> 15.2 its working. when i upgrade 16.0 i have got this problem. i  
> already posted this issue.
> 
> i want to solve with existing databases(indices) that is created in  
> 15.2

Senthil, I sent you a long and detailed explanation yesterday.

Asking the same question again without any information is not helpful.

Was there something that you didn't understand in my email? If so, what  
was it? What did you try? What didn't work?

clint

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:06am UTC](https://discuss.elastic.co/t/problem-with-searching-emails/4352/6 "2017-07-06T04:06:53Z")

</div>


