Shakespeare example

(Yong Rhee) #1

I got this log after type this on window powershell to load Shakespear example data.
Do you know How can I handle this? I executed a file on a folder that I downloaded a Shakespeare.json file. (Although I have loaded data to Elastic search)
invoke-RestMethod "http://localhost:9200/shakespeare/doc/_bulk?pretty" -Method Post -ContentType 'application/x-ndjson' -InFile "shakespeare_6.0.json

took errors items
---- ------ -----
1363 False {@{index=}, @{index=}, @{index=}, @{index=}...}

(CJ Cenizal) #2

Hi there, it looks like your bulk request was successful. I'm a little confused. What is the problem you're trying to solve?


(Yong Rhee) #3

I think they are mostly successful but I don't know why CMD command generated 1363 False error code. I assumed that there were some error in the data. Maybe not.

(CJ Cenizal) #4

That's tabular data. "took", "errors", and "items" are headers, which correspond to the data below it. In other words:

Took: 1363 (the number of documents)
Errors: False (no errors)


(Yong Rhee) #5

Thank you!

(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.