lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush" <>
Subject RE: Didn't find segment file under linux
Date Tue, 13 Jun 2006 12:59:48 GMT
Hi Atali,

Thanks for the fix.  The change that you made to CreateOutput() has a
different logic then the original Java code.  The Java code checks to see if
the file exits, if so, deletes it and then creates a new one.  Is there a
reason why you removed this check?


-- George

-----Original Message-----
From: Atali DAOUD [] 
Sent: Saturday, June 10, 2006 5:02 AM
Subject: Didn't find segment file under linux

Hi folks,

I am using with mono under linux, there is a little
interoperability problem in FSDirectory class.
Could you please merge this in the next release if it is possible. :-)

        /// <summary>Creates a new, empty file in the directory with the
given name.
        /// Returns a stream writing this file.
        /// </summary>
        public override IndexOutput CreateOutput(System.String name)
            return new FSIndexOutput(new System.IO.FileInfo(
System.IO.Path.Combine( directory.FullName, name)));
        /// <summary>Returns a stream reading an existing file. </summary>
        public override IndexInput OpenInput(System.String name)
            return new FSIndexInput(new System.IO.FileInfo(
System.IO.Path.Combine( directory.FullName, name)));

Best Regards

View raw message