'How to make an SOLR replica with a specific query

We have very big SOLR searchContexts and have the need to daily do lots of searches on them. The idea is to send out the search results with the newly added documents - which are thousands.

What I want to do is the following: Have a replica of the SOLR searchContexts, but only with a subset (based on a query e.g. have the actual documents, but only for the last 5 days) of the master SOLR.

Is there a possibility to achieve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source