lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul നോബിള്‍ नोब्ळ्" <>
Subject Re: [jira] Commented: (SOLR-561) Solr replication by Solr (for windows also)
Date Thu, 29 May 2008 15:00:45 GMT
On Thu, May 29, 2008 at 7:48 PM, Grant Ingersoll <> wrote:
> On May 29, 2008, at 4:42 AM, Noble Paul (JIRA) wrote:
>>   [
>> ]
>> Noble Paul commented on SOLR-561:
>> ---------------------------------
>> There are problems with index replacement in windows.
>> Windows does not allow as to delete the index folder, because it is being
>> used .
>> How do we solve this?
> Is it that you want to remove the whole existing index or is it just dealing
> with the diffs?  Could you just switch over to a new directory and then
> remove the other one after all references to the old one are gone?  I must
> admit, I don't know a lot about how Windows does this stuff, if they offer a
> way to override the locks, or what.  Worst case, I suppose, is you could
> mark it as delete on exit, possibly?  Maybe you could leave the dir there,
> but empty the old index after bringing the new one online?
The problem is when the new index is being copied the original index
is open. So windows does not let it to be deleted.
Solr always want the index to be in datadir/index.
> Just rambling...
> Grant

--Noble Paul

View raw message