Getting all fields with setting "stored": "true"


(Justin Uang) #1

Hi,

I noticed that there is a way to get all "stored" fields at once without
specifying them - addField("*") to the query

However, this only works on "stored" fields. Is there a way to get all the
fields without making every field stored?

Thanks,

Justin

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5f03c49c-80c4-4663-b533-44575464111d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jun Ohtani) #2

Hi Justin,

If you use Java API and default setting (using _source field), you should
use getSource().

Does it make sense?

Regards,

Jun Ohtani

2013/12/11 Justin Uang justin.uang@gmail.com

Hi,

I noticed that there is a way to get all "stored" fields at once without
specifying them - addField("*") to the query

However, this only works on "stored" fields. Is there a way to get all the
fields without making every field stored?

Thanks,

Justin

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5f03c49c-80c4-4663-b533-44575464111d%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--

Jun Ohtani
blog : http://blog.johtani.info

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPW8A5x9WVf8v3NY9G7tpRpL_kSSdHvhDw4uDnhJ1oaDMpU14A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3