return the extent of a search result, closes #16