# Lucene wildcards seem to not work

**URL:** <https://community.auth0.com/t/lucene-wildcards-seem-to-not-work/9143>\
**Category:** Get Help\
**Tags:** lucene\
**Created:** [January 6, 2018, 2:05am UTC](https://community.auth0.com/t/lucene-wildcards-seem-to-not-work/9143 "2018-01-06T02:05:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan.rumney](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.rumney/32/7840_2.png) [@dan.rumney](https://community.auth0.com/u/dan.rumney)\
**Post date:** [January 6, 2018, 2:05am UTC](https://community.auth0.com/t/lucene-wildcards-seem-to-not-work/9143/1 "2018-01-06T02:05:02Z")

</div>

I have a user:  
[dan.rumney+guardian@ohanapediatrics.com](mailto:dan.rumney+guardian@ohanapediatrics.com)  
If I submit this Lucene search via the dashboard:  
[email:"dan.rumney+guardian@ohanapediatrics.com](mailto:email:%22dan.rumney+guardian@ohanapediatrics.com)"  
I get my user

If I submit this Lucen search via the dashboard:  
email:“dan.rumney+\*@ohanapediatrics.com”  
I get nothing

What gives?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [January 8, 2018, 6:23pm UTC](https://community.auth0.com/t/lucene-wildcards-seem-to-not-work/9143/2 "2018-01-08T18:23:40Z")

</div>

To my knowledge the wildcard would be only supported when the search is run on an individual term and not for phrases. I also think that what would be considered individual terms would depend on the analyzer, but for email `dan.rumney+guardian@ohanapediatrics.com` I think you would get the following terms:

- `dan.rumney`
- `guardian`
- `ohanapediatrics.com`

So searching for the phrase (phrases use quotes) `"dan.rumney+guardian@ohanapediatrics.com"` would get that user as the phrase/sequence matches while the phrase search `"dan.rumney+*@ohanapediatrics.com"` would only match if you had a user with email like `dan.rumney@ohanapediatrics.com` where both terms in the search appear in the expected sequence.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 9:28am UTC](https://community.auth0.com/t/lucene-wildcards-seem-to-not-work/9143/3 "2019-07-25T09:28:24Z")

</div>


