lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r729653 - in /incubator/lucene.net/trunk/C#/src/Lucene.Net/Search: CachingSpanFilter.cs CachingWrapperFilter.cs FieldCacheImpl.cs
Date Sat, 27 Dec 2008 18:42:16 GMT
Author: digy
Date: Sat Dec 27 10:42:15 2008
New Revision: 729653

URL: http://svn.apache.org/viewvc?rev=729653&view=rev
Log: (empty)

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingSpanFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingWrapperFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingSpanFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/CachingSpanFilter.cs?rev=729653&r1=729652&r2=729653&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingSpanFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingSpanFilter.cs Sat Dec 27 10:42:15
2008
@@ -55,7 +55,7 @@
 			SpanFilterResult result = null;
 			if (cache == null)
 			{
-				cache = new System.Collections.Hashtable();
+                cache = new Lucene.Net.Util.WeakHashTable();
 			}
 			
 			lock (cache.SyncRoot)

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingWrapperFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/CachingWrapperFilter.cs?rev=729653&r1=729652&r2=729653&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingWrapperFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingWrapperFilter.cs Sat Dec 27
10:42:15 2008
@@ -48,7 +48,7 @@
 		{
 			if (cache == null)
 			{
-				cache = new System.Collections.Hashtable();
+                cache = new Lucene.Net.Util.WeakHashTable();
 			}
 			
 			lock (cache.SyncRoot)

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FieldCacheImpl.cs?rev=729653&r1=729652&r2=729653&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs Sat Dec 27 10:42:15
2008
@@ -39,10 +39,6 @@
 	/// </version>
 	public class FieldCacheImpl : FieldCache
 	{
-        public virtual void Close(IndexReader reader)
-        {
-        }
-
 		public FieldCacheImpl()
 		{
 			InitBlock();
@@ -569,7 +565,7 @@
 		/// <summary>Expert: Internal cache. </summary>
 		internal abstract class Cache
 		{
-			private System.Collections.IDictionary readerCache = new System.Collections.Hashtable();
+            private System.Collections.IDictionary readerCache = new Lucene.Net.Util.WeakHashTable();
 			
 			protected internal abstract System.Object CreateValue(IndexReader reader, System.Object
key);
 			



Mime
View raw message