Hi ES team
Is it possible to join multiple indices based on a common id and apply
filters?
Eg :
Index1 has
itemId, Desc, ProdId
Index2 has
ProdId and Price
We need to return all the items where the price is in a particular range.
Is it possible without having all the data in 1 single index?
This is not possible, elasticsearch, like any NOSQL db, doesn't do joins.
You can do it yourself, i.e. join in code, or use parent/child relations,
or nested document.
Depending on your usecase, denormalizing the prices documents and deduping
on product id may also be an option.
Hi ES team
Is it possible to join multiple indices based on a common id and apply
filters?
Eg :
Index1 has
itemId, Desc, ProdId
Index2 has
ProdId and Price
We need to return all the items where the price is in a particular range.
Is it possible without having all the data in 1 single index?
Il giorno mercoledì 24 aprile 2013 08:46:41 UTC+2, george ha scritto:
Hi ES team
Is it possible to join multiple indices based on a common id and apply
filters?
Eg :
Index1 has
itemId, Desc, ProdId
Index2 has
ProdId and Price
We need to return all the items where the price is in a particular range.
Is it possible without having all the data in 1 single index?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.