I’m attempting to use the Discourse search via /u/search/… and unless I’m mistaken it doesn’t offer wildcards or defaults to partial matches within names, for example I have the following users…
*andrew
*marian
*mark
If I search on 'an" I only get ‘andrew’
If I search on 'ma" I get both ‘mark’ and ‘marian’
Are there any wild-card features to find on a search of ‘an’ to both get ‘andrew’ and ‘marian’ ?
My full query in JS is…
this.DiscourseAPI.get(`u/search/users.json?term=${term}&include_groups=false&include_mentionable_groups=false&include_messageable_groups=false&topic_allowed_users=false`
Where {term}
is replaces by the user search string (eg. ‘an’ or ‘ma’)