search widget returns documents relevant to query