move basic search result code into search client (to remove elastic
search dependency in service)