Search is done by name id (@some_name) and id (UCj--iMtToRO_cGG_fpmP5XQ) of an account. The match must be exact for an account to be found. Search by id is more reliable bacause it is assigned on account creation and can not be chanched. Name id on the other hand can be changed by the account owner.
Search is done by name id (@some_name) and name of an account. Searchable fragment will be found if it is contained in any of those fields. The search is case insensitive. Right now I have limited search result to 20 items due perfomance limitaions of my server, but later this restriction will be removed.