Test the /nf/admin/search_users and /nf/admin/search_projects pages. Now everything you enter should match, no matter the spaces or @s. And wildcards should still work too. user test will match test user X which isn't ideal, but you can manually add quotes if you want a literal match.
A more perfect solution I think would require changing many text fields in solr to string fields, e.g. email_addresses_t -> _s and display_name_t and project_shortname_t and project_name_t etc. Those really aren't full text fields, just strings, and then escaping spaces with \ might work. But that would be a very big undertaking.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fixed on db/8197
Test the /nf/admin/search_users and /nf/admin/search_projects pages. Now everything you enter should match, no matter the spaces or @s. And wildcards should still work too.
user test
will matchtest user X
which isn't ideal, but you can manually add quotes if you want a literal match.A more perfect solution I think would require changing many text fields in solr to string fields, e.g.
email_addresses_t
->_s
anddisplay_name_t
andproject_shortname_t
andproject_name_t
etc. Those really aren't full text fields, just strings, and then escaping spaces with\
might work. But that would be a very big undertaking.