Reputation: 1733
Requirement-
Replace old indexed data with new indexed data every night in Apache Solr. Until the new data is indexed completely, I want old data to be searched for this duration. And when new data indexing is completed, then there should be switching logic, that will point the searching to new data in no time. After this old data should be deleted.
Is there a switching concept in Apache Solr which handle this scenario?
There are 100 000 documents which need to be indexed.
Upvotes: 0
Views: 516
Reputation: 15771
there is: Aliases.
The above is if you are using SolrCloud. If you are not, you can do a similar thing with the Core api
Upvotes: 4