Hi,

I am using es-spark_2.11-2.1.0.Beta4 on Spark 1.3.1 shell against 
elasticsearch 1.4.4.

Doing:

import org.elasticsearch.spark._

val esRdd = sc.esRDD("my_index/my_type?q=fields:field_name")

esRdd.take(1)

results in getting the whole document source and not just the specified 
field.


Thanks for the help.


Israel

-- 
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/d1e7fb54-bf2c-4a8a-a65c-e8d20cd58337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to