lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lixin Meng" <li...@fulldegree.com>
Subject couldn't rename segments.new to segments
Date Tue, 17 Jun 2003 00:30:31 GMT
I have a program and try to index a large collection of XML files. After
about 9000 files (~2K each) , it will throw exception to complain that it
couldn't rename 'segments.new' to 'segments' or rename 'deletable.new' to
'deletable'. But the file 'segments.new' or 'deletable.new' has write
permission.

Has anybody come across this before? More information at the end of this
message.

Regards,
Lixin

All files are stored on local disk.

The actual message read as following:

-----------
... couldnt rename segments.new to segments  Error Code: (2830620)
------------

My java code looks like following:

----------------
    try {
      if (contentDoc != null) {
        writer.addDocument(contentDoc);
      }
    } catch (java.io.IOException e) {
      throw new XMLSearchException("Error adding doc " + urlPath +
          " to IndexWriter: " + e.getMessage());
    }
----------

My machine has following configuration:

------------
RAM:  512Mb
OS:	Win2K with SP1
CPU:	~800Mhz
------------


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message