我试图在elasticsearch
中索引csv文件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
}
}'
搜索http://localhost:9200/my_csv_data_1/_search后编制索引后得到了
{
error: "IndexMissingException[[my_csv_data_1] missing]",
status: 404
}
任何想法或我错过任何事情?