Yes my mistake, you're right about #1.
On Wednesday 06 April 2011 05:25:50 William Bell wrote:
> Thank you for pointing out #2. The commitsToKeep is interesting, but I
> thought each commit would create a segment (before optimized) and be
> self contained in the index.* directory?
>
> I would onl
Thank you for pointing out #2. The commitsToKeep is interesting, but I
thought each commit would create a segment (before optimized) and be
self contained in the index.* directory?
I would only run this on the slave.
Bill
On Tue, Apr 5, 2011 at 2:54 PM, Markus Jelsma
wrote:
> Hi,
>
> This seem
Hi,
This seems alright as it leaves the current index in place, doesn't mess with
the spellchecker and leave the properties alone. But, there are two problems:
1. it doesn't take into account the commitsToKeep value set in the deletion
policy, and;
2. it will remove any directory to which a cur
There is a bug that leaves old index.* directories in the Solr data directory.
Here is a script that will clean it up. I wanted to make sure this is
okay, without doing a core reload.
Thanks.
#!/bin/bash
DIR="/mnt/servers/solr/data"
LIST=`ls $DIR`
INDEX=`cat $DIR/index.properties | grep index\=