Can we use different types other than couchbaseDocument type?

Hello All,

I have created index on Elastic Search and pushed all data from CouchBase
to Elastic Search.
I am getting all records with type as couchbasDocument. In CouchBase
document I have different document like Activity Log.
Please check below picture.

After push data from couch base to Elastic Search, index has Couchbase
Document type. Please check below details.

Can we change or use different type other than couchbaseDocument ?
Please help me for same. Quick response will be appreciable.

Please feel free to revert back in case of any query.

Thanks
Suraj Bhansali

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

There is an option in couchbase plugin.
See doc: https://github.com/couchbaselabs/elasticsearch-transport-couchbase
couchbase.defaultDocumentType - the document type to store documents as, defaults to "couchbaseDocument"
That said, type can not be yet dynamic (based on doc content for example).
I started to discuss about that with couchbase team.

But it seems to be more complicated than I thought.

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

Le 13 mars 2013 à 13:11, bhansalisuraj bhansalisuraj@gmail.com a écrit :

Hello All,

I have created index on Elastic Search and pushed all data from CouchBase to Elastic Search.
I am getting all records with type as couchbasDocument. In CouchBase document I have different document like Activity Log.
Please check below picture.

After push data from couch base to Elastic Search, index has Couchbase Document type. Please check below details.

Can we change or use different type other than couchbaseDocument ?
Please help me for same. Quick response will be appreciable.

Please feel free to revert back in case of any query.

Thanks
Suraj Bhansali

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