CORE-5070: only return the document ID when crawling ElasticSearch