You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2010/04/03 20:39:06 UTC

svn commit: r930561 - /lucene/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs

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);
 			}
         }