Basic search support

Signed-off-by: Mathias Kaufmann <me@stei.gr>