# Queries for fields with Email-Http url

**URL:** <https://discuss.elastic.co/t/queries-for-fields-with-email-http-url/12137>\
**Category:** Elasticsearch\
**Created:** [May 27, 2013, 4:01pm UTC](https://discuss.elastic.co/t/queries-for-fields-with-email-http-url/12137 "2013-05-27T16:01:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarang\_dawer](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tarang\_dawer](https://discuss.elastic.co/u/tarang_dawer)\
**Post date:** [May 27, 2013, 4:01pm UTC](https://discuss.elastic.co/t/queries-for-fields-with-email-http-url/12137/1 "2013-05-27T16:01:16Z")

</div>

Hi

I am indexing documents in ES with certain fields having Email format and  
some having http url's. For these fields , the queries that are required  
to be supported are certain pattern queries , like

[mail.DOMAINNAME.com/a](http://mail.DOMAINNAME.com/a)

but my content which is getting indexed is in with full url format like  
with prefixes like "[http://mail.DOMAINNAME.com/a](http://mail.DOMAINNAME.com/a)" or "https://  
[mail.DOMAINNAME.com/a](http://mail.DOMAINNAME.com/a)" etc.  
is there some way that ES supports this kind of query ?

Please help  
Thanks  
Tarang Dawer

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:34am UTC](https://discuss.elastic.co/t/queries-for-fields-with-email-http-url/12137/2 "2017-07-06T02:34:33Z")

</div>


