can filter items by query

Signed-off-by: Nathanael Burt <nathanael.burt@gmail.com>