Retrieve query occurrences, final.