search cache query