karussell / Jetwick

[not maintained] Custom Twitter Search via ElasticSearch&Wicket
61 stars 15 forks source link

Error while using River Plugin #16

Closed bhushanpsspl closed 11 years ago

bhushanpsspl commented 11 years ago

Hi, I am using river plugin and SQL Server. When I use the following in the terminal

curl -XPUT 'localhost:9200/_river/my_jdbc_river/_meta' -d '{ "type" : "jdbc", "jdbc" : { "driver" : "com.microsoft.sqlserver.jdbc.SQLServerDriver", "url" : "jdbc:sqlserver://(Local)\SQLExpress;databaseName=StoreTest;",
"user" : "sa", "password" : "sa@123456", "sql" : "select * from Genres" }, "index" : { "index" : "jdbc", "type" : "jdbc" } }'

I get the below mentioned error, Can you please trouble shoot this.

{"error":"MapperParsingException[Failed to parse]; nested: JsonParseException[Unrecognized character escape 'S' (code 83)\n at [Source: [B@714f0e; line: 5, column: 36]]; ","status":400}

karussell commented 11 years ago

What has this to do with jetwick? Please be more descriptive and avoid unrelated questions