Index only last year

Showing results for 
Search instead for 
Did you mean: 
Member II

Index only last year

I have Alfresco 5.0 and solr 4.9.1

I want solr to only index the last year of documentation and ignore the rest.

The repository that I have is around 40 million documents, so I want to speed up the indexing process.

How could i do it?