Listing the content of an Index

Hi Team,

I need to list the first field of each document of an index. How can we achieve this. Do we have any possibility to do this?

The fields of a document aren't in any particular order, so if you can't name the field you want you'll have to fetch each document in full.

How can we list the all documents of an index?

Use the scroll API.