Search with sharing.

Signed-off-by: cyberzhg <cyberzhg@gmail.com>