Elastic search csv river module not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Elastic search csv river module not working

Avinash Garg
This post has NOT been accepted by the mailing list yet.
curl -XPUT localhost:9200/_river/my_csv_river/_meta -d '
{
    "type" : "csv",
    "csv_file" : {
        "folder" : "/tmp",
        "filename_pattern" : ".*\\.csv$",
        "first_line_is_header" : "true",
        "field_separator" : ",",


        "field_id" : "_id"

    },
    "index" : {
        "index" : "my_csv_data_1",
        "type" : "csv_type_1",
        "bulk_size" : 100,
        "bulk_threshold" : 10
    }
}'
after indexing while searching http://localhost:9200/my_csv_data_1/_search got

{
error: "IndexMissingException[[my_csv_data_1] missing]",
status: 404
}

any thoughts or i missed any thing?