convert query in "phi--search-with-target-buffer"
cache query