Hi all,

I have a Solr server without replication. I want to make sure I keep as
little snapshots as possible, because my collection is quite large.

I understand that in order to keep only 1 snapshots and delete all
others I have to set the parameter maxCommitsToKeep to "1".

Mit detention policy in solrconfig.xml looks like this:

    <deletionPolicy class="solr.SolrDeletionPolicy">
      <str name="maxCommitsToKeep">1</str>
      <str name="maxOptimizedCommitsToKeep">1</str>
    </deletionPolicy>

But it seems to have no effect whatsoever. It creates a snapshot for
each commit and each optimize and keeps all of them, without deleting any.

I have some other Solr servers where I use the same detention policy and
it works fine. Are there any other settings that can override this
configuration?

Thanks,
Timo

Reply via email to