What considerations to bear in mind when deciding on a document's type

Hi all,

Are there performance or functional trade offs which should be considered
when deciding on a documents type?

I found an article which calls out some of the key considerations when
deciding on how many indexes to use
http://www.elasticsearch.org/blog/what-is-an-elasticsearch-index/, but I
haven't been able to find anything similar which discusses the type
property.

Thanks.
Brent

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

If what you mean by "type" of a document in a index is
Elasticsearch Platform — Find real-time answers at scale | Elastic,
it doesn't have any impact on performance. As explained in the link,
it's just like a "table" in a RDBMS.

On Thu, Oct 17, 2013 at 7:15 PM, Brent Gracey brentgracey@gmail.com wrote:

Hi all,

Are there performance or functional trade offs which should be considered
when deciding on a documents type?

I found an article which calls out some of the key considerations when
deciding on how many indexes to use
Elasticsearch Platform — Find real-time answers at scale | Elastic, but I
haven't been able to find anything similar which discusses the type
property.

Thanks.
Brent

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

--
Regards,
Abhijeet Rastogi (shadyabhi)

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

Thanks for the answer, and yup that's the type I was talking about.

Is the main use of type to allow different mappings to be applied on the
same index?

Is there any other use for type?

Please do point me in the correct direction if I've missed the relevant
documentation, but my googling hasn't turned anything up

Thanks

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

Yup, that's one use of it. You can have two different "kind" of
documents in the same index and treat them differently. Try googling
for "Index vs type in elasticsearch".

For ex, database - Elastic search, multiple indexes vs one index and types for different data sets? - Stack Overflow
http://elasticsearch-users.115913.n3.nabble.com/More-indices-vs-more-types-td3999423.html

On Fri, Oct 18, 2013 at 2:05 AM, Brent Gracey brentgracey@gmail.com wrote:

Thanks for the answer, and yup that's the type I was talking about.

Is the main use of type to allow different mappings to be applied on the
same index?

Is there any other use for type?

Please do point me in the correct direction if I've missed the relevant
documentation, but my googling hasn't turned anything up

Thanks

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

--
Regards,
Abhijeet Rastogi (shadyabhi)

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

Great thanks for those links, thats the info I was looking for

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