Searching for john doe doesn't match on "doe" at all. And searching for firstname.lastname@example.org splits on the @ and matches on either part.
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 match test user X which isn't ideal, but you can manually add quotes if you want a literal match.
test user X
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.
Log in to post a comment.