Hi to all.
My name is Mohammad Rafi.
And i am new learner to this ElasticSearch.
I am using windows 7 64-bit
Elasticsearch version 0.19.8
and i have added HEAD and RIVER-CSV plugins to my elasticsearch.
I have gone through the following links to read csv-river plugin for
elastisearch.
"http://www.elasticsearch.org/guide/reference/modules/plugins.html" and
"https://github.com/xxBedy/elasticsearch-river-csv"
I have created "g:/me_demos/test01.csv" file in my file system. which
contain:
name,age,message
ram,12,hi ram
rakesh,22,hi rakesh.
And I have "g:/me_demos/insertrivercsv.json" file which contain:
{
"type" : "csv",
"csv_file" : {
"folder" : "/me_demos",
"filename_mask" : ".*\test01.csv$",
"poll":"5m",
"fields" : [
"name",
"age",
"msg"
],
"field_separator" : ",",
"escape_character" : ";",
"quote_character" : "'"
},
"index" : {
"index" : "my_csv_dat",
"type" : "csv_row",
"bulk_size" : 10000,
"bulk_threshold" : 50
}
}
I have tried to insert ".csv" file data to elasticsearch by using csv
river.
I have used curl command for inserting and it display as
curl -XPOST http://localhost:9200/_river/my_csv_river/_meta -d
@g:/me_demos/insertrivercsv.json
[image: curl ocmmand]
I have inserted only one _id that is "_meta".
but it inserted two _ids and they are _meta and _status.
_meta has some data but _status has error message. as below
[image: ES side error message]
But in Elasticsearch the .csv file is not inserted and also I got an error
message like:
NoClassSettingsException[Failed to load class with value [csv]]; nested:
ClassNotFoundException[csv];
can any one tell me why this is happening?
Suggest me, how to resolve it?
And also please tell me where should I get more documentation/information
about csv-river for Elasticsearch.
Thanks to you all.
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.