Searching for user by email address returns a lot more results than I'd expect
-
I'm using the Elasticsearch search engine and when I search in the admin UI for a particular email, like
user@example.com
, I get a lot of responses back. I'm surprised, I'd expect to only get back the user with that email address. -
Hiya.
You can see the elasticsearch query if you expand
advanced
in the UI.Because of the way that we tokenize the search string, it is likely that a query like
user@example.com
will match more than just the user with the email address you are entering.If you want to match only the email address in the UI, the easiest way to do it is to preface the query with
email:
. Soemail:user@example.com
.Hope that helps.