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.
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.
Thanks. Wish there is simple Java API method to that gives a handle to get
the list in a single call.
Would it be possible to add this feature as it is often needed ( and
supposed to be a simple process)
On the same topic, even with scan and scroll, how can I limit the result
returned only include the id itself,
without all those meta data?
On Wednesday, November 5, 2014 9:10:35 AM UTC-5, David Pilato wrote:
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 5 nov. 2014 à 13:48, Ted Smith <tedsmi...@gmail.com <javascript:>> 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.
Thanks. Wish there is simple Java API method to that gives a handle to get the list in a single call.
Would it be possible to add this feature as it is often needed ( and supposed to be a simple process)
On the same topic, even with scan and scroll, how can I limit the result returned only include the id itself,
without all those meta data?
On Wednesday, November 5, 2014 9:10:35 AM UTC-5, David Pilato wrote:
So that's not the same story.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.