Types in segments

Hi,

Are documents of different mappings in an index stored in different
segments or a single segment can contain documents of different types. Is
_type the only way of differentiating the type of an documents?

Regards,
Anand

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/98b6703e-2e03-4ee5-b81f-4a383e34b95f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

A single segment can contain documents of different _type's in a single
index. The _type is just a field inside the document.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/aeb2868b-0eeb-4565-8b22-eff058e12a07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Does delete type (mapping) also ensures all the documents associated with
that type gets deleted ?

On Wednesday, May 14, 2014 6:58:41 AM UTC-7, Binh Ly wrote:

A single segment can contain documents of different _type's in a single
index. The _type is just a field inside the document.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9a8fa258-1724-4175-928c-7af2b7d2b7e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.