Problem bulk indexing

There should also be the actual json document to index, in another new line,
and then a new line to end it all.

On Wed, Jan 5, 2011 at 1:44 PM, Clinton Gormley clinton@iannounce.co.ukwrote:

curl -XPUT 'http://localhost:9200/_bulk' -d '{ "index" : { "_index" :
"test", "_type" : "type1", "_id" : "1" } }'

You're missing the final newline. Try this instead:

curl -XPUT 'http://localhost:9200/_bulk' -d '
{ "index" : { "_index" :"test", "_type" : "type1", "_id" : "1" } }
'

clint