lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atali DAOUD <atali.da...@gmail.com>
Subject Didn't find segment file under linux
Date Sat, 10 Jun 2006 09:01:38 GMT
Hi folks,

I am using Lucene.net 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
Atali DAOUD

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message