[ANN] CouchDB river 1.2.0

Heya,

We've just released the new Couchdb river [1] 1.2.0 which is Elasticsearch 0.90.x compatible.

[1] https://github.com/elasticsearch/elasticsearch-river-couchdb

Best

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

See the replay of the webinar on the recently released Elasticsearch 0.90

Thanks for that David,
For some time you had an outstanding merge request to filter CouchDb river
by feeds, though it now seems closed [1].

We still don't seem to have managed to get this capability into the river.
Has this capability been overtaken by the "script" attribute? Or is there
now an equivalent way of providing this capability? Whilst I can imagine
how script transforms could simulate a CouchDb view, it wouldn't seem to
get access to the CouchDb cacheing and optimisation.

Cheers,
Ian

[1]. https://github.com/elasticsearch/elasticsearch-river-couchdb/pull/2

On Wednesday, 15 May 2013 18:04:35 UTC+1, David Pilato wrote:

Heya,

We've just released the new Couchdb river [1] 1.2.0 which is Elasticsearch
0.90.x compatible.

[1] https://github.com/elasticsearch/elasticsearch-river-couchdb

Best

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs

See the replay of the webinarhttp://info.elasticsearch.com/Register_Recorded_0.90_Webinar.html
on the recently released Elasticsearch 0.90

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It's reopened here: https://github.com/elasticsearch/elasticsearch-river-couchdb/pull/24

I hope we will be able to review my code soon.
It's the last step we need before merging in master.

My guess is that it can happen in 1.3.0 but no ETA on that.

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 16 mai 2013 à 09:56, ian mayo ian@planetmayo.com a écrit :

Thanks for that David,
For some time you had an outstanding merge request to filter CouchDb river by feeds, though it now seems closed [1].

We still don't seem to have managed to get this capability into the river. Has this capability been overtaken by the "script" attribute? Or is there now an equivalent way of providing this capability? Whilst I can imagine how script transforms could simulate a CouchDb view, it wouldn't seem to get access to the CouchDb cacheing and optimisation.

Cheers,
Ian

[1]. https://github.com/elasticsearch/elasticsearch-river-couchdb/pull/2

On Wednesday, 15 May 2013 18:04:35 UTC+1, David Pilato wrote:

Heya,

We've just released the new Couchdb river [1] 1.2.0 which is Elasticsearch 0.90.x compatible.

[1] https://github.com/elasticsearch/elasticsearch-river-couchdb

Best

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

See the replay of the webinar on the recently released Elasticsearch 0.90

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

  • deleted -

Dear sir,
I am testing elasticsearch-river-couchdb(1.2.0). I have tried to follow the different tutorials and post on index and mapping attached document in a couchdb database for days without success. After running the codes below i don't have any hits from words that exist in the couchdb attached files.

software version:
CouchDB: 1.2.1
elasticsearch-river-couchdb: 1.2.0
elasticsearch: 0.90
elasticsearch-mapper-attachments: 1.7.0

1.create a index
curl -XPUT "http://127.0.0.1:9200/pdfcouchindex"

2.create a mapping
curl -XPUT 'http://127.0.0.1:9200/pdfcouchindex/pdftype/_mapping' -d '{
"pdftype": {
"properties" : {
"_attachments": {
"properties": {
""attachment"": {
"type": "attachment","index" : "analyzed"
}
}
},
"title": {
"type": "string"
}
}
}
}'

  1. create the river
    curl -XPUT "http://127.0.0.1:9200/_river/pdfcouchindex/_meta" -d '
    {
    "type": "couchdb",
    "couchdb": {
    "host": "127.0.0.1",
    "port": "5984",
    "db": "pdfcouch",
    "filter": null
    },
    "index": {
    "index": "pdfcouchindex",
    "type": "pdftype"
    }
    }'

  2. Retrieve the indexed document by the keyword
    (1) curl -XPOST 'http://localhost:9200/pdfcouchindex/pdftype/_search?pretty=true' -d '{"query" : {"text" : { "_all" : "Abstraction" } } }'
    {
    "took" : 7,
    "timed_out" : false,
    "_shards" : {
    "total" : 5,
    "successful" : 5,
    "failed" : 0
    },
    "hits" : {
    "total" : 0,
    "max_score" : null,
    "hits" : [ ]
    }
    }

(2)http://localhost:9200/pdfcouchindex/pdftype/_search?q=*&pretty=true
{
"took" : 9,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 2,
"max_score" : 1.0,
"hits" : [ {
"_index" : "pdfcouchindex",
"_type" : "pdftype",
"_id" : "60699284e3faaeef260fc43e7e00678a",
"_score" : 1.0, "_source" : {"_rev":"1-6dc6e91540ad3ccc4a0d54f66c7574ac","authors":"","organization":"","title":"mongodb","keywords":"","issn":"","abstracts":"","_id":"60699284e3faaeef260fc43e7e00678a","address":"","_attachments":{"attachment":{"stub":true,"length":366987,"digest":"md5-G52n3UVybIbCOuQe5eX2dg==","revpos":1,"content_type":"application/pdf"}},"foundation":"","media":""}
}, {
"_index" : "pdfcouchindex",
"_type" : "pdftype",
"_id" : "60699284e3faaeef260fc43e7e006d81",
"_score" : 1.0, "_source" : {"_rev":"1-2de491d3982a9f7ae0fb9b928dfc6c2e","authors":"","organization":"","title":"mongodb","keywords":"","issn":"","abstracts":"","_id":"60699284e3faaeef260fc43e7e006d81","address":"","_attachments":{"attachment":{"stub":true,"length":2357103,"digest":"md5-29s/N7EvL0E97d2uDqOkGw==","revpos":1,"content_type":"application/pdf"}},"foundation":"","media":""}
} ]
}
}