lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r805614 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosReader.cs
Date Tue, 18 Aug 2009 22:46:05 GMT
Author: digy
Date: Tue Aug 18 22:46:05 2009
New Revision: 805614

URL: http://svn.apache.org/viewvc?rev=805614&view=rev
Log:
LUCENENET-190 TermInfosReader

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosReader.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/TermInfosReader.cs?rev=805614&r1=805613&r2=805614&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosReader.cs Tue Aug 18 22:46:05
2009
@@ -238,7 +238,9 @@
         /// <summary>Returns the TermInfo for a Term in the set, or null. </summary>
         internal TermInfo Get(Term term)
         {
-            return Get(term, true);
+            //return Get(term, true);
+            //Lucene.Net specific. Default:true
+            return Get(term, SupportClass.AppSettings.Get("EnableTermInfosReaderCache", true));
         }
 
 		/// <summary>Returns the TermInfo for a Term in the set, or null. </summary>



Mime
View raw message