Title: Re: beginner question
Hello!

You should have your results returned unless you disabled _source field in the mappings. Can you show us result of:

curl -XGET 'localhost:9200/megacorp/employee/_mapping?pretty'

--
Regards,
Rafał Kuć
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support *
http://sematext.com/



Hi ,

Can you try the insert using POST and paste the result.

Thanks
          Vineeth



On Sat, Apr 26, 2014 at 9:23 PM, Jinyuan Zhou <
[email protected]> wrote:
I am following the definitive guide. I added this docume by issue this in sense
PUT /megacorp/employee/1
{
   "first_name" : "John",
   "last_name" :  "Smith",
   "age" :        25,
   "about" :      "I love to go rock climbing",
   "interests": [ "sports", "music" ]
}

when I try to retrieve the docoment
by doing this

GET /megacorp/employee/1

But I didn't get original json back. It get some description of the stored document like this.
{
  "_index": "megacorp",
  "_type": "employee",
  "_id": "1",
  "_version": 2,
  "found": true
}.

I did this on command line using cur. Same result come back.

What do I missing? Thanks,
--
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
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/73171fd0-dc65-4c3d-9493-5e6b9f62a6ba%40googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.
--
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
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3DASvTuLvDb_ixQOW1krSw70dtX0CpiMXkfLNGrxmY0HQ%40mail.gmail.com.
For more options, visit
https://groups.google.com/d/optout.

--
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 [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/957210301.20140426181406%40alud.com.pl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to