Can anyone give me a complete sample code of User Search? thanks

Can anyone give me a complete sample code of User Search? thanks

Its a smack help forum, not a write someones elses app for them forum

Yes, I know this is the smack help forum.

I saw the doc of smackx usually give the sample code for new API.

But I found the UserSearch is added in Smack 2.1.0 and I did not find where to download it. So I want some help.