Document Information API
Edit pageYou can retrieve information about a given document ID using the INFO method:
INFO /twitter/tweet/1INFO /twitter/tweet/1?human=trueThe response includes a set of valuable information about the required document:
docid- Internal document ID.version- The document’s version.shard,endpoint- The shard that holds the document, when the index has more than one shard.data- Content types stored in the document data (inplaceorstored, with the volume, offset and size of a stored one; sizes are humanized withhuman=true).values- Object containing all values stored by the document.raw_data- The serialized document data, with therawquery param.
Sources: src/database/handler.cc:1915-1985, src/server/search_views.cc:1243-1250.