I'm trying to use java client to search and retrieve results from an
elasticsearch server.
so far, I'm able to search for hits and corresponding ids. but the
fields associated with
the search results are empty (but I only have the document id's from
the hits).
should I perform another "actionGet" into to get the document content?
as an api reference, which
test case talks about retrieve record?
I'm trying to use java client to search and retrieve results from an
elasticsearch server.
so far, I'm able to search for hits and corresponding ids. but the
fields associated with
the search results are empty (but I only have the document id's from
the hits).
should I perform another "actionGet" into to get the document content?
as an api reference, which
test case talks about retrieve record?
Note that by default the full source document is returned when you search,
so you can get it when asking for source on the hit. Note, once you ask for
specific fields, _source will not be returned by default anymore.
I'm trying to use java client to search and retrieve results from an
elasticsearch server.
so far, I'm able to search for hits and corresponding ids. but the
fields associated with
the search results are empty (but I only have the document id's from
the hits).
should I perform another "actionGet" into to get the document content?
as an api reference, which
test case talks about retrieve record?
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.