At first i downloaded elastic search and installed river-jdbc in its plugin
folder. then added mysql-jdbc inside
ES_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch
and Started another terminal window, and created a new JDBC river with name
my_jdbc_river with this curl command
At first i downloaded Elasticsearch and installed river-jdbc in its
plugin folder. then added mysql-jdbc inside
ES_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch
and Started another terminal window, and created a new JDBC river with name
my_jdbc_river with this curl command
On Thu, Jul 4, 2013 at 3:39 AM, 陈立红 qinritukou@gmail.com wrote:
I want to index and search mysql database using Elasticsearch & I followed this tutorial
elasticsearch-river-jdbc
At first i downloaded Elasticsearch and installed river-jdbc in its plugin folder. then added mysql-jdbc inside ES_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch and Started another terminal window, and created a new JDBC river with name my_jdbc_river with this curl command
curl -XPUT 'localhost:9200/_river/my_jdbc_river/_meta' -d '{
"type" : "jdbc",
"jdbc" : {
"driver" : "com.mysql.jdbc.Driver",
"url" : "jdbc:mysql://localhost:3306/bablool",
"user" : "root",
"password" : "babloo",
"sql" : "select * from details"
},
"index" : {
"index" : "jdbc",
"type" : "jdbc"
}
}'
then when I run this command: curl -XGET 'localhost:9200/jdbc/jdbc/_search?pretty&q=*'
and im getting following error:
"error": "IndexMissingException[[jdbc] missing]", "status" : 404
plz help me....
At first i downloaded Elasticsearch and installed river-jdbc in its
plugin folder. then added mysql-jdbc inside
ES_HOME/elasticsearch-0.90.1/plugins/river-jdbc/ Then started elasticsearch
and Started another terminal window, and created a new JDBC river with name
my_jdbc_river with this curl command
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.