I have a user:
dan.rumney+guardian@ohanapediatrics.com
If I submit this Lucene search via the dashboard:
email:"dan.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?
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.