So that's not the same story. You want to do scan and scroll.
See http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/search.html -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > Le 5 nov. 2014 à 13:48, Ted Smith <tedsmithgr...@gmail.com> a écrit : > > Hello, David: > > I have issue with trying to retrieve all document Ids (or a single field > value of all documents) in an index. > I have about several million documents, but all I need is a list of document > id (sorted if possible), nothing else. > It is taking 5 minutes now for me to get the results. All I need is the > array/list of the Ids. > What would be the fastest and most efficient (no extra data returned) ways to > do this in Java. > > Thanks very much > > > > > >> On Tuesday, November 4, 2014 12:57:44 PM UTC-5, Ap wrote: >> >> Eg. Index has 100 documents with field A, B, C ....Z >> >> I want to retrieve a list of all A's from the 100 documents in the Index. > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/eb1b4706-2c66-4d8b-8264-f4364757f53e%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2A15ADB3-340F-4F3A-959B-F72049EA22C9%40pilato.fr. For more options, visit https://groups.google.com/d/optout.