Hit.getSource() returning only meta and not doc


(gaurav.j0102) #1

Hello,

I am using elastic search 1.1.0 and I am facing issue that when I do hit.getSource() it returns only meta and not document associated with it.
Could you please tell me why I do not get document?
To add more even in Elastic search head plugin the search result in UI on specific index does not display document. It only displays meta like {meta={id=2, rev=7-0007035905ffb3aa0000000000000000, flags=0, expiration=0}}

Please tell me how can I get complete document as well.


(system) #2