I have changed in the latest JDBC river the configuration format. There is
no "index" subsection anymore, just the "jdbc" subsection:

curl -XPUT 'localhost:9200/_river/venues_river/_meta' -d '{
    "strategy" : "simple",
    "type" : "jdbc",
    "jdbc" : {
        "driver" : "com.mysql.jdbc.Driver",
        "url" : "jdbc:mysql://localhost:3306/database",
        "user" : "user",
        "password" : "pass",
        "sql" : "select * from search_venues",
        "index" : "venues",
        "type" : "venue"
    }
}'

Jörg

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFkwyjNrYQ1UUPz2cX3J9oGFojpX%3Dx9nK_N7my5O5m64w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to