curl -XPUT ‚localhost:9200/[INDEX_NAME]/[TYPE_NAME]/_meta‘ -d ‚{
„type“ :“jdbc“,
„jdbc“ : {
„driver“ : „org.postgresql.Driver“,
„url“ : „jdbc:postgresql://[HOST]:[PORT]/[DATABASE_SCHEMA]“,
„user“ : „[USER]“,
„password“ : „[PASSWORD]“,
„sql“ : „select * from table“
},
„index“ : {
„index“ : „[?INDEX_NAME?]“,
„type“ : „jdbc“
}
}‘

Kommentar hinterlassen

benötigt


8 − sechs =

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>