indexing - how to implement solr index partitioning -


i want solr create indexes based on specific field. e.g. have field in schema.xml, createdate (which might of value 2012/2013/etc). while indexing if value of specific field 2013, document should indexed @ /data/2013/index folder (or logically separated folder). tried provide following in solrconfig xml before <config> tag ends:

<partition>      <partitionfield name="creationyear">       <value>2004</value>            <value>2005</value>            <value>2006</value>       <value>2007</value>       <value>2008</value>       <value>2009</value>       <value>2010</value>       <value>2011</value>       <value>2012</value>       <value>2013</value>      </partitionfield>    </partition> 

while indexing not working , seems idea not implemented in solr. assuming correct? or there way can allow solr create dynamic index folders based on year(as in example)?

any appreciated!!


Comments