About CouchDB Integration

CouchDB Integration: http://www.elasticsearch.org/tutorials/2010/08/01/couchb-integration.html
,says that automatically index data
in CouchDB .does it include attachment of a document in couchDB?

Not yet. It only index the fact you have an attachment but not the attachment itself.

HTH
David :wink:
@dadoonet

Le 3 déc. 2011 à 08:20, Goog Cheng googcheng@gmail.com a écrit :

CouchDB Integration: Elasticsearch Platform — Find real-time answers at scale | Elastic
,says that automatically index data
in CouchDB .does it include attachment of a document in couchDB?

Thanks!if I want to index the attachment itself,how to do it?

2011/12/3 David Pilato david@pilato.fr

Not yet. It only index the fact you have an attachment but not the
attachment itself.

HTH
David :wink:
@dadoonet

Le 3 déc. 2011 à 08:20, Goog Cheng googcheng@gmail.com a écrit :

CouchDB Integration:
Elasticsearch Platform — Find real-time answers at scale | Elastic
,says that automatically index data
in CouchDB .does it include attachment of a document in couchDB?

First : you can implement it here :
<https://github.com/elasticsearch/elasticsearch/blob/master/plugins/river/co
uchdb/src/main/java/org/elasticsearch/river/couchdb/CouchdbRiver.java#L269>
https://github.com/elasticsearch/elasticsearch/blob/master/plugins/river/cou
chdb/src/main/java/org/elasticsearch/river/couchdb/CouchdbRiver.java#L269

Second : you can index attachments yourself as attachment but you can’t use
the river for that. You can for example develop a batch that fetch content
from the couchDb _changes API and then get the attachments and push a new
JSON document with attachment in it ( see also :
http://www.elasticsearch.org/guide/reference/mapping/attachment-type.html
Elasticsearch Platform — Find real-time answers at scale | Elastic )

David.

De : elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com]
De la part de goog cheng
Envoyé : samedi 3 décembre 2011 10:36
À : elasticsearch@googlegroups.com
Objet : Re: about CouchDB Integration

Thanks!if I want to index the attachment itself,how to do it?

2011/12/3 David Pilato david@pilato.fr

Not yet. It only index the fact you have an attachment but not the
attachment itself.

HTH
David :wink:
@dadoonet

Le 3 déc. 2011 à 08:20, Goog Cheng googcheng@gmail.com a écrit :

CouchDB Integration:
Elasticsearch Platform — Find real-time answers at scale | Elastic
,says that automatically index data
in CouchDB .does it include attachment of a document in couchDB?

I hava used the couchriver plugin. I want to build a pdf docs search
engine. I put the .pdf as a docunment attachment in couchDB. use ES to
search it, can't get the content of pdf .

2011/12/3 David Pilato david@pilato.fr

First : you can implement it here :
https://github.com/elasticsearch/elasticsearch/blob/master/plugins/river/couchdb/src/main/java/org/elasticsearch/river/couchdb/CouchdbRiver.java#L269



Second : you can index attachments yourself as attachment but you can’t
use the river for that. You can for example develop a batch that fetch
content from the couchDb _changes API and then get the attachments and push
a new JSON document with attachment in it ( see also :
Elasticsearch Platform — Find real-time answers at scale | Elastic)



David. ****



De : elasticsearch@googlegroups.com [mailto:
elasticsearch@googlegroups.com] De la part de goog cheng
Envoyé : samedi 3 décembre 2011 10:36
À : elasticsearch@googlegroups.com
Objet : Re: about CouchDB Integration****


Thanks!if I want to index the attachment itself,how to do it?****

2011/12/3 David Pilato david@pilato.fr****

Not yet. It only index the fact you have an attachment but not the
attachment itself.

HTH
David :wink:
@dadoonet

Le 3 déc. 2011 à 08:20, Goog Cheng googcheng@gmail.com a écrit :****

CouchDB Integration:
Elasticsearch Platform — Find real-time answers at scale | Elastic
,says that automatically index data
in CouchDB .does it include attachment of a document in couchDB?****


just out of curiosity, why do you use CouchDB and ES, cant you just use ES
as it essentially behaves like no-sql db?

On Saturday, 3 December 2011 18:20:25 UTC+11, Goog Jobs wrote:

CouchDB Integration:
Elasticsearch Platform — Find real-time answers at scale | Elastic
,says that automatically index data
in CouchDB .does it include attachment of a document in couchDB?

--
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.