enhance logging for getRelevantResults