Should i keep different types of documents in different indexes?

Hello,
I have single server ES installation. There are 2 types of documents. First
type is relatively small subset of the data, the second type is huge
amount, but in most cases I run queries against the 1st type, and rarely
against the 2nd. So, my index is huge just because the data I rarely use. I
was thinking to separate those 2 types into different indexes to increase
performance of my application, but assuming those indexes will be running
on the same ES, does it make sense at all? Any other suggestions?
Thank you,
Eugene

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

It makes perfect sense to separate the indexes. You can change certain
values per index such as the number of shards, replicas (not needed in your
case) and cache settings. You could also reindex all the documents of the
first type faster if you needed to.

--
Ivan

On Tue, Jul 23, 2013 at 6:09 AM, Eugene Strokin eugene@strokin.info wrote:

Hello,
I have single server ES installation. There are 2 types of documents.
First type is relatively small subset of the data, the second type is huge
amount, but in most cases I run queries against the 1st type, and rarely
against the 2nd. So, my index is huge just because the data I rarely use. I
was thinking to separate those 2 types into different indexes to increase
performance of my application, but assuming those indexes will be running
on the same ES, does it make sense at all? Any other suggestions?
Thank you,
Eugene

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