# Can we use different types other than couchbaseDocument type?

**URL:** <https://discuss.elastic.co/t/can-we-use-different-types-other-than-couchbasedocument-type/11135>\
**Category:** Elasticsearch\
**Created:** [March 13, 2013, 12:11pm UTC](https://discuss.elastic.co/t/can-we-use-different-types-other-than-couchbasedocument-type/11135 "2013-03-13T12:11:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suraj\_Bhansali](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Suraj\_Bhansali](https://discuss.elastic.co/u/Suraj_Bhansali)\
**Post date:** [March 13, 2013, 12:11pm UTC](https://discuss.elastic.co/t/can-we-use-different-types-other-than-couchbasedocument-type/11135/1 "2013-03-13T12:11:11Z")

</div>

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 14, 2013, 10:38am UTC](https://discuss.elastic.co/t/can-we-use-different-types-other-than-couchbasedocument-type/11135/2 "2013-03-14T10:38:54Z")

</div>

There is an option in couchbase plugin.  
See doc: [GitHub - couchbase/couchbase-elasticsearch-connector: The Official Couchbase Elasticsearch Connector](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 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mars 2013 à 13:11, bhansalisuraj [bhansalisuraj@gmail.com](mailto: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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:46am UTC](https://discuss.elastic.co/t/can-we-use-different-types-other-than-couchbasedocument-type/11135/3 "2017-07-06T02:46:31Z")

</div>


