If I have multiple doctypes for an index, how does it impact searching and indexing performance?


(Avinash Pandey) #1

As of now, in my setup, I have one doctype for every index. I want to
understand what will happen, lets say, if I push all the documents in one
index, with different doctypes.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/64e178ec-551a-40de-bb19-0d3aefb8b753%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Nik Everett) #2

From a lucene context doctypes are indexed together and filtered. So it is
just like having one big index. If two doc types share the same field name
then that fields IDF will be for both.

You should test it but it's often OK.
On Jun 1, 2015 7:06 AM, "Avinash Pandey" avinashpandey.iitd@gmail.com
wrote:

As of now, in my setup, I have one doctype for every index. I want to
understand what will happen, lets say, if I push all the documents in one
index, with different doctypes.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/64e178ec-551a-40de-bb19-0d3aefb8b753%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/64e178ec-551a-40de-bb19-0d3aefb8b753%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/CAPmjWd3V%2BahwKDFVYwQTXwByT5epRY%2BCLF2PBAMO8FR3pFxMLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3