You could send the documents to both and filter out the recent ones in the history collection.
wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 5, 2016, at 5:46 AM, vidya <vidya.nade...@tcs.com> wrote: > > Hi > > I would like to maintain two cores for history data and current data where > hdfs is my datasource. My requirement is that data input should be given to > only one collection and previous data should be moved to history collection. > 1)Creating two cores and migrating data from current to history collection > by data-config.xml using solrEntityProcessor. In data-config.xml, where > should i represent two collections for migrating source collection to the > other collection.And how to make sure that happens.Do I need to run a job or > how to make sure that data migration occurs. > https://wiki.apache.org/solr/DataImportHandler#SolrEntityProcessor > > 2)collection aliasing is a concept which creates new collection after a > period of time. > I read that concept but lagging in how to implement it.Like where do i need > to make changes in my solrcloud. > http://blog.cloudera.com/blog/2013/10/collection-aliasing-near-real-time-search-for-really-big-data/ > > Please help me on this. > > Thanks in advance > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Data-migration-from-one-collection-to-the-other-collection-tp4248646.html > Sent from the Solr - User mailing list archive at Nabble.com.