I use the couchdb river to automatic tranfer data from database to
Elasticsearch index. I got problem when must insert parent param ( I
noticed above). How can I config the river to insert parent param.
Maybe I think config in this script. Help me please.
curl -XPUT 'http://localhost:9200/_river/animal/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "my_couch_db",
"filter" : "Field/fieldfilters",
},
"index" : {
"index" : "new_index",
"type" : "field",
"bulk_size" : "1000",
"bulk_timeout" : "10ms"
}
}'
I use the couchdb river to automatic tranfer data from database to
Elasticsearch index. I got problem when must insert parent param ( I
noticed above). How can I config the river to insert parent param.
Maybe I think config in this script. Help me please.
curl -XPUT 'http://localhost:9200/_river/animal/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "my_couch_db",
"filter" : "Field/fieldfilters",
},
"index" : {
"index" : "new_index",
"type" : "field",
"bulk_size" : "1000",
"bulk_timeout" : "10ms"
}
}'
I use the couchdb river to automatic tranfer data from database to
Elasticsearch index. I got problem when must insert parent param ( I
noticed above). How can I config the river to insert parent param.
Maybe I think config in this script. Help me please.
curl -XPUT 'http://localhost:9200/_river/animal/_meta'-d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "my_couch_db",
"filter" : "Field/fieldfilters",
},
"index" : {
"index" : "new_index",
"type" : "field",
"bulk_size" : "1000",
"bulk_timeout" : "10ms"
}
}'
I use the couchdb river to automatic tranfer data from database to
Elasticsearch index. I got problem when must insert parent param ( I
noticed above). How can I config the river to insert parent param.
Maybe I think config in this script. Help me please.
curl -XPUT 'http://localhost:9200/_river/animal/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "my_couch_db",
"filter" : "Field/fieldfilters",
},
"index" : {
"index" : "new_index",
"type" : "field",
"bulk_size" : "1000",
"bulk_timeout" : "10ms"
}
}'
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.