get-doc for query changed into find-doc