First of all, just wanted to say that Redisearch is amazing and I’m having tons of fun learning and using it.
I’m considering using Redisearch to build a bigger project where we are going to have multiple Campaigns with hundreds of Products and for that I was thinking about having 2 indexes:
Index 1: idxProducts
Index 2: idxCampaigns
My requirement is that, when a campaign gets ‘disabled’, it stops returning products related to that campaign.
In Elasticsearch and Solr we have this mechanism of ‘has_parent’ or ‘join’, my question is, Is there anything I can do to simulate this behaviour in Redisearch?
One alternative for me would be to get the enabled or disabled campaigns and pass it as part of the search, but I might have hundreds of campaigns, not sure how that would perform.
Appreciate any ideas, workarounds and/or suggestions.