>
> curl -XPUT "http://localhost:9200/my_couchdb_idx/" -d "{
>
> "settings": {
>
> "number_of_shards": 6,
>
> "number_of_replicas": 1
>
> },
>
> "mappings": {
>
> "profiles": {
>
> "dynamic": "false",
>
> "properties": {
>
> "name": { "type": "string"},
>
> "email": { "type": "string"}
>
> }
>
> }
>
> }
>
> }"
>
>
and then
curl -XPUT "localhost:9200/_river/my_couchdb_riv/_meta" -d "{
"type" : "couchdb",
"couchdb" : {
"host" : "192.168.0.29",
"port" : 5984,
"db" : "my_db_name",
"filter" : null,
"last_seq": "20000000",
"ignore_attachments":true},
"index" : {
"index" : "my_couchdb_idx",
"type" : "profiles",
"bulk_size" : "100",
"bulk_timeout" : "10ms"
}
}
--
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/b7060911-c36b-445e-9e94-fc8662e320d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.