Re: Spark code to get select firelds from ES

2017-09-20 Thread ayan guha
If I remember correctly ES connector can take optional query parameter. You should be able to construct a ES query to specify fields and match conditions. On Thu, 21 Sep 2017 at 3:44 am, Jean Georges Perrin wrote: > Same issue with RDBMS ingestion (I think). I solved it with views. Can you > do

Re: Spark code to get select firelds from ES

2017-09-20 Thread Jean Georges Perrin
Same issue with RDBMS ingestion (I think). I solved it with views. Can you do views on ES? jg > On Sep 20, 2017, at 09:22, Kedarnath Dixit > wrote: > > Hi, > > I want to get only select fields from ES using Spark ES connector. > > I have done some code which is fetching all the documents m