Revert "removing exported search methods from redis and mongo"

This reverts commit bba3b76108a3d4fc1db38ccb545f149bc59a4ba7.