lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r930561 - /lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
Date Sat, 03 Apr 2010 18:39:06 GMT
Author: digy
Date: Sat Apr  3 18:39:05 2010
New Revision: 930561

URL: http://svn.apache.org/viewvc?rev=930561&view=rev
Log:
NIOFSDirectory is not implemented in Lucene.Net. So returning NIOFSDirectory as default directory
on mono is wrong.

Modified:
    lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs

Modified: lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/src/Lucene.Net/Store/FSDirectory.cs?rev=930561&r1=930560&r2=930561&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs (original)
+++ lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs Sat Apr  3 18:39:05 2010
@@ -565,7 +565,9 @@ namespace Lucene.Net.Store
 			}
 			else
 			{
-				return new NIOFSDirectory(path, lockFactory);
+                //NIOFSDirectory is not implemented in Lucene.Net
+				//return new NIOFSDirectory(path, lockFactory);
+                return new SimpleFSDirectory(path, lockFactory);
 			}
         }
 		



Mime
View raw message