Listing the content of an Index

(Vinod Rao) #1

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?

(Magnus Bäck) #2

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.

(Vinod Rao) #3

How can we list the all documents of an index?

(Magnus Bäck) #4

Use the scroll API.

(system) #5