DefaultUserQueryFilter
class DefaultUserQueryFilter(transliterator: StreamTransliterator = DefaultStreamTransliterator()) : QueryFilter<User>
Default QueryFilter for User objects used in mention suggestions.
Matches by whitespace-tokenizing the query and the user's name (or id when blank): every word except the last must equal at least one name word, and the last word must be a prefix of at least one name word. The same name word may satisfy multiple query words. Results are sorted alphabetically by normalized name. Normalization applies lowercasing, diacritics removal, and optional transliteration.
Parameters
transliterator
The transliterator to use for normalizing strings.