I would appreciate your suggestions in helping me design my elasticsearch
index.
I'm intending to index product feeds from about 20 on-line stores, each
store not having more than 20,000 products. each product has about 15 basic
fields.
Most of the searches would be done on specific product categories, and not
specific stores.
Each store feed is updated every few days (each store separately), by
receiving an XML file containing all the products in the store (no deltas).
Each update, I need to remove from my index all the existing products from
that store and add the new ones.
I thought of two possibles approaches:
-
Create a single index + an alias to that index. Once a new feed is
received, clone the existing index to a new index, remove from the new
index all the old products, add the new products and finally change the
alias to point to the new index. -
Create an index for each store, and an alias that points to all of the
indices. Once a new feed is received, just index it from scratch, remove
the old store index from the alias and add the new one.
I'm not sure which way will give me faster search results? or maybe there
is an even better approach I didn't think of...
Thanks in advance,
Ori
--
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/34f2766d-cada-4ba9-a4fa-961c34aa2f8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.