New measures and algorithms for online searching