search plugin internals, round 1