lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atali DAOUD <atali.da...@gmail.com>
Subject Re: Didn't find segment file under linux
Date Tue, 13 Jun 2006 22:51:09 GMT
Hi George,

I'am sorry but I worked from an old lucene.net 1.9rc1 release . :'(  
There was any check in this previous version.
Now I have installed the last version of lucene.net from svn and it 
works perfectly with mono.

http://fr.adanoo.com (only french version is available now)

Best regards,
Atali DAOUD.






George Aroush a écrit :
> 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?
>
> Regards,
>
> -- George
>
> -----Original Message-----
> From: Atali DAOUD [mailto:atali.daoud@gmail.com] 
> Sent: Saturday, June 10, 2006 5:02 AM
> To: lucene-net-dev@incubator.apache.org
> Subject: Didn't find segment file under linux
>
> 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
View raw message