lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r930583 - /lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Store/FSDirectory.cs
Date Sat, 03 Apr 2010 21:23:52 GMT
Author: digy
Date: Sat Apr  3 21:23:51 2010
New Revision: 930583

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

Modified:
    lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Store/FSDirectory.cs

Modified: lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Store/FSDirectory.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Store/FSDirectory.cs?rev=930583&r1=930582&r2=930583&view=diff
==============================================================================
--- lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Store/FSDirectory.cs (original)
+++ lucene/lucene.net/tags/Lucene.Net_2_9_1/src/Lucene.Net/Store/FSDirectory.cs Sat Apr  3
21:23:51 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