thx for ur answer but it did not help; I just do not know where to extract this example file accounts.json - i think this is the problem, the file is not found
On Wednesday, October 1, 2014 4:24:27 PM UTC+2, Tanguy Leroux wrote: > > Hi Jochen, > > The command in the reference guide looks good to me. It seems that you > copy/paste the command with the HTML encoded chars of the documentation. > You might try without copy/paste from the doc. > > Also, I think "our current directory" stands for "the directory where the > accounts.json file is located". > > -- Tanguy > > > Le mercredi 1 octobre 2014 15:47:08 UTC+2, Jochen Rieseberg a écrit : >> >> Hi, >> >> I just tried to follow the reference guide with load data and get an >> error: >> >> No handler found for uri >> [/'localhost:9200/bank/account/_bulk?pretty%27%[email protected]] >> >> and method [POST] >> >> Is there an error in the code of the reference guide or did I put data in >> the wrong directory? >> >> So, what does he mean with "our current directory"? >> >> Many thanks for any help >> >> Jochen Rieseberg >> >> You can download the sample dataset (accounts.json) from here >> <https://github.com/bly2k/files/blob/master/accounts.zip?raw=true>. >> Extract it to our current directory and let’s load it into our cluster as >> follows: >> >> curl -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary >> @accounts.json >> curl 'localhost:9200/_cat/indices?v' >> >> -- 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/05d50ac3-bb1d-4b7c-80f5-c85127b8a584%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
