Does Typesense support any way to reference other documents or “embedd” documents inside other documents?
My use case is this:
I have an index with lots of products and data about them such a weight, color and other specifications. I also have a list of places where you can buy the product. The data consists of price, currency and stock status. There are 0 to maybe 30-40 offers per product.
I want to be able execute queries such as “list all products that weight more than XX g and are in stock in a least one store for no more than YY USD”. I also want to enable faceting on the prices.
After reading the documentation, it seems to be that the only way to achive this is to index a seperate document for each offer that also includes a copy of the product data.
Since that would mean A LOT of duplicate data, I was hoping for a way to embed the offers in the product document, and still being to perform queries like I mentioned above. Is that possible?