lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [Lucene.Net] svn commit: r1104611 - in /incubator/lucene.net/branches/Lucene.Net_2_9_4g: ./ src/core/Search/ test/contrib/Queries/ test/core/Search/
Date Tue, 17 May 2011 22:41:07 GMT
Author: digy
Date: Tue May 17 22:41:07 2011
New Revision: 1104611

URL: http://svn.apache.org/viewvc?rev=1104611&view=rev
Log:
[LUCENENET-412] Filter.Bits(Obsolete) removed

Modified:
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/CachingSpanFilter.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/Filter.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/MultiTermQueryWrapperFilter.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/QueryWrapperFilter.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/BooleanFilterTest.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/TermsFilterTest.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/JustCompileSearch.cs
    incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/TestCachingWrapperFilter.cs

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs%20FROM%202.9.4.txt?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/DIFFs FROM 2.9.4.txt Tue May 17 22:41:07 2011
@@ -20,6 +20,8 @@
    - FilteredDocIdSet.Match
    - FilteredDocIdSetIterator.Match 
   changed from abstract method to Func<..>  to be able to remove weird AnonymousClassXXXX's
+  
+* Filter.Bits(Obsolete) removed.
 
 -------------------------------------------------------------------------------
 

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/CachingSpanFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/CachingSpanFilter.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/CachingSpanFilter.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/CachingSpanFilter.cs Tue May 17 22:41:07 2011
@@ -64,14 +64,14 @@ namespace Lucene.Net.Search
                 });
         }
 
-		/// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
-		/// </deprecated>
-        [Obsolete("Use GetDocIdSet(IndexReader) instead.")]
-		public override System.Collections.BitArray Bits(IndexReader reader)
-		{
-			SpanFilterResult result = GetCachedResult(reader);
-			return result != null?result.GetBits():null;
-		}
+        ///// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
+        ///// </deprecated>
+        //[Obsolete("Use GetDocIdSet(IndexReader) instead.")]
+        //public override System.Collections.BitArray Bits(IndexReader reader)
+        //{
+        //    SpanFilterResult result = GetCachedResult(reader);
+        //    return result != null?result.GetBits():null;
+        //}
 		
 		public override DocIdSet GetDocIdSet(IndexReader reader)
 		{

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/Filter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/Filter.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/Filter.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/Filter.cs Tue May 17 22:41:07 2011
@@ -44,11 +44,11 @@ namespace Lucene.Net.Search
 		/// </returns>
 		/// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
 		/// </deprecated>
-        [Obsolete("Use GetDocIdSet(IndexReader) instead.")]
-		public virtual System.Collections.BitArray Bits(IndexReader reader)
-		{
-			throw new System.NotSupportedException();
-		}
+        //[Obsolete("Use GetDocIdSet(IndexReader) instead.")]
+        //public virtual System.Collections.BitArray Bits(IndexReader reader)
+        //{
+        //    throw new System.NotSupportedException();
+        //}
 		
         ///<summary>
         ///  Creates a {@link DocIdSet} enumerating the documents that should be
@@ -72,9 +72,7 @@ namespace Lucene.Net.Search
 		/// </returns>
 		/// <seealso cref="DocIdBitSet">
 		/// </seealso>
-		public virtual DocIdSet GetDocIdSet(IndexReader reader)
-		{
-			return new DocIdBitSet(Bits(reader));
-		}
+        public abstract DocIdSet GetDocIdSet(IndexReader reader);
+		
 	}
 }
\ No newline at end of file

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/MultiTermQueryWrapperFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/MultiTermQueryWrapperFilter.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/MultiTermQueryWrapperFilter.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/MultiTermQueryWrapperFilter.cs Tue May 17 22:41:07 2011
@@ -208,21 +208,21 @@ namespace Lucene.Net.Search
 		/// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
 		/// </deprecated>
 		//@Override
-        [Obsolete("Use GetDocIdSet(IndexReader) instead.")]
-		public override System.Collections.BitArray Bits(IndexReader reader)
-		{
-			TermEnum enumerator = query.GetEnum(reader);
-			try
-			{
-				System.Collections.BitArray bitSet = new System.Collections.BitArray((reader.MaxDoc() % 64 == 0?reader.MaxDoc() / 64:reader.MaxDoc() / 64 + 1) * 64);
-				new AnonymousClassTermGenerator(bitSet, this).Generate(query, reader, enumerator);
-				return bitSet;
-			}
-			finally
-			{
-				enumerator.Close();
-			}
-		}
+        //[Obsolete("Use GetDocIdSet(IndexReader) instead.")]
+        //public override System.Collections.BitArray Bits(IndexReader reader)
+        //{
+        //    TermEnum enumerator = query.GetEnum(reader);
+        //    try
+        //    {
+        //        System.Collections.BitArray bitSet = new System.Collections.BitArray((reader.MaxDoc() % 64 == 0?reader.MaxDoc() / 64:reader.MaxDoc() / 64 + 1) * 64);
+        //        new AnonymousClassTermGenerator(bitSet, this).Generate(query, reader, enumerator);
+        //        return bitSet;
+        //    }
+        //    finally
+        //    {
+        //        enumerator.Close();
+        //    }
+        //}
 		
 		/// <summary> Returns a DocIdSet with documents that should be
 		/// permitted in search results.

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/QueryWrapperFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/QueryWrapperFilter.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/QueryWrapperFilter.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/src/core/Search/QueryWrapperFilter.cs Tue May 17 22:41:07 2011
@@ -124,14 +124,14 @@ namespace Lucene.Net.Search
 		
 		/// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
 		/// </deprecated>
-        [Obsolete("Use GetDocIdSet(IndexReader) instead.")]
-		public override System.Collections.BitArray Bits(IndexReader reader)
-		{
-			System.Collections.BitArray bits = new System.Collections.BitArray((reader.MaxDoc() % 64 == 0?reader.MaxDoc() / 64:reader.MaxDoc() / 64 + 1) * 64);
+        //[Obsolete("Use GetDocIdSet(IndexReader) instead.")]
+        //public override System.Collections.BitArray Bits(IndexReader reader)
+        //{
+        //    System.Collections.BitArray bits = new System.Collections.BitArray((reader.MaxDoc() % 64 == 0?reader.MaxDoc() / 64:reader.MaxDoc() / 64 + 1) * 64);
 			
-			new IndexSearcher(reader).Search(query, new AnonymousClassCollector(bits, this));
-			return bits;
-		}
+        //    new IndexSearcher(reader).Search(query, new AnonymousClassCollector(bits, this));
+        //    return bits;
+        //}
 		
 		public override DocIdSet GetDocIdSet(IndexReader reader)
 		{

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/BooleanFilterTest.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/BooleanFilterTest.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/BooleanFilterTest.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/BooleanFilterTest.cs Tue May 17 22:41:07 2011
@@ -230,17 +230,17 @@ namespace Lucene.Net.Search
             Assert.AreEqual("BooleanFilter( price:[030 TO 040] +( inStock:N ) -( price:030 ))", b.ToString());
         }
 
-        [Test]
-        [ExpectedException(typeof(NotSupportedException))]
-        public void ExOnBits_Test()
-        {
-            BooleanFilter b = new BooleanFilter();
-            b.Add(new BooleanFilterClause(GetTermsFilter("inStock", "N", false), BooleanClause.Occur.MUST));
-            b.Add(new BooleanFilterClause(GetTermsFilter("price", "030", false), BooleanClause.Occur.MUST_NOT));
-            b.Add(new BooleanFilterClause(GetRangeFilter("price", "030", "040", false), BooleanClause.Occur.SHOULD));
+        //[Test]
+        //[ExpectedException(typeof(NotSupportedException))]
+        //public void ExOnBits_Test()
+        //{
+        //    BooleanFilter b = new BooleanFilter();
+        //    b.Add(new BooleanFilterClause(GetTermsFilter("inStock", "N", false), BooleanClause.Occur.MUST));
+        //    b.Add(new BooleanFilterClause(GetTermsFilter("price", "030", false), BooleanClause.Occur.MUST_NOT));
+        //    b.Add(new BooleanFilterClause(GetRangeFilter("price", "030", "040", false), BooleanClause.Occur.SHOULD));
 
-            BitArray bits = b.Bits(this.reader);
-        }
+        //    BitArray bits = b.Bits(this.reader);
+        //}
 
         #region helpers
 
@@ -254,19 +254,14 @@ namespace Lucene.Net.Search
             writer.AddDocument(doc);
         }
 
-        private Filter GetOldBitSetFilter(Filter filter)
-        {
-            return new MockBooleanFilter(filter);
-        }
+        //private Filter GetOldBitSetFilter(Filter filter)
+        //{
+        //    return new MockBooleanFilter(filter);
+        //}
 
         private Filter GetRangeFilter(String field, String lowerPrice, String upperPrice, bool old)
         {
             Filter f = new TermRangeFilter(field, lowerPrice, upperPrice, true, true);
-            if (old)
-            {
-                return GetOldBitSetFilter(f);
-            }
-
             return f;
         }
 
@@ -274,10 +269,6 @@ namespace Lucene.Net.Search
         {
             TermsFilter tf = new TermsFilter();
             tf.AddTerm(new Term(field, text));
-            if (old)
-            {
-                return GetOldBitSetFilter(tf);
-            }
 
             return tf;
         }
@@ -295,27 +286,4 @@ namespace Lucene.Net.Search
 
         #endregion
     }
-
-    public class MockBooleanFilter : Filter
-    {
-        private Filter filter;
-
-        public MockBooleanFilter(Filter f)
-        {
-            this.filter = f;
-        }
-
-        [Obsolete]
-        public override BitArray Bits(IndexReader reader)
-        {
-            BitArray bits = new BitArray(reader.MaxDoc());
-            DocIdSetIterator it = filter.GetDocIdSet(reader).Iterator();
-            int doc = DocIdSetIterator.NO_MORE_DOCS;
-            while ((doc = it.NextDoc()) != DocIdSetIterator.NO_MORE_DOCS)
-            {
-                bits.Set(doc, true);
-            }
-            return bits;
-        }
-    }
 }

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/TermsFilterTest.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/TermsFilterTest.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/TermsFilterTest.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/contrib/Queries/TermsFilterTest.cs Tue May 17 22:41:07 2011
@@ -99,14 +99,14 @@ namespace Lucene.Net.Search
             Assert.AreEqual(2, bits.Cardinality(), "Must match 2");
         }
 
-        [Test]
-        [ExpectedException(typeof(NotSupportedException))]
-        public void ExOnBits()
-        {
-            TermsFilter a = new TermsFilter();
-            a.AddTerm(new Term("field1", "a"));
-            a.AddTerm(new Term("field1", "b"));
-            BitArray b = a.Bits(null);
-        }
+        //[Test]
+        //[ExpectedException(typeof(NotSupportedException))]
+        //public void ExOnBits()
+        //{
+        //    TermsFilter a = new TermsFilter();
+        //    a.AddTerm(new Term("field1", "a"));
+        //    a.AddTerm(new Term("field1", "b"));
+        //    BitArray b = a.Bits(null);
+        //}
     }
 }

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/JustCompileSearch.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/JustCompileSearch.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/JustCompileSearch.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/JustCompileSearch.cs Tue May 17 22:41:07 2011
@@ -1,520 +1,513 @@
-/* 
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+///* 
+// * Licensed to the Apache Software Foundation (ASF) under one or more
+// * contributor license agreements.  See the NOTICE file distributed with
+// * this work for additional information regarding copyright ownership.
+// * The ASF licenses this file to You under the Apache License, Version 2.0
+// * (the "License"); you may not use this file except in compliance with
+// * the License.  You may obtain a copy of the License at
+// * 
+// * http://www.apache.org/licenses/LICENSE-2.0
+// * 
+// * Unless required by applicable law or agreed to in writing, software
+// * distributed under the License is distributed on an "AS IS" BASIS,
+// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// * See the License for the specific language governing permissions and
+// * limitations under the License.
+// */
 
-using System;
+//using System;
 
-using NUnit.Framework;
+//using NUnit.Framework;
 
-using Document = Lucene.Net.Documents.Document;
-using FieldSelector = Lucene.Net.Documents.FieldSelector;
-using CorruptIndexException = Lucene.Net.Index.CorruptIndexException;
-using IndexReader = Lucene.Net.Index.IndexReader;
-using Term = Lucene.Net.Index.Term;
-using TermPositions = Lucene.Net.Index.TermPositions;
-using Lucene.Net.Util;
+//using Document = Lucene.Net.Documents.Document;
+//using FieldSelector = Lucene.Net.Documents.FieldSelector;
+//using CorruptIndexException = Lucene.Net.Index.CorruptIndexException;
+//using IndexReader = Lucene.Net.Index.IndexReader;
+//using Term = Lucene.Net.Index.Term;
+//using TermPositions = Lucene.Net.Index.TermPositions;
+//using Lucene.Net.Util;
 
-namespace Lucene.Net.Search
-{
+//namespace Lucene.Net.Search
+//{
 	
-	/// <summary> Holds all implementations of classes in the o.a.l.search package as a
-	/// back-compatibility test. It does not run any tests per-se, however if 
-	/// someone adds a method to an interface or abstract method to an abstract
-	/// class, one of the implementations here will fail to compile and so we know
-	/// back-compat policy was violated.
-	/// </summary>
-	sealed class JustCompileSearch
-	{
-		
-		private const System.String UNSUPPORTED_MSG = "unsupported: used for back-compat testing only !";
-		
-		internal sealed class JustCompileSearcher:Searcher
-		{
-			
-			public /*protected internal*/ override Weight CreateWeight(Query query)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  Close()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
+//    /// <summary> Holds all implementations of classes in the o.a.l.search package as a
+//    /// back-compatibility test. It does not run any tests per-se, however if 
+//    /// someone adds a method to an interface or abstract method to an abstract
+//    /// class, one of the implementations here will fail to compile and so we know
+//    /// back-compat policy was violated.
+//    /// </summary>
+//    sealed class JustCompileSearch
+//    {
+		
+//        private const System.String UNSUPPORTED_MSG = "unsupported: used for back-compat testing only !";
+		
+//        internal sealed class JustCompileSearcher:Searcher
+//        {
+			
+//            public /*protected internal*/ override Weight CreateWeight(Query query)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  Close()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
 
-            /// <summary>
-            /// .NET
-            /// </summary>
-            public override void Dispose()
-            {
-                Close();
-            }
-			
-			public override Document Doc(int i)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int[] DocFreqs(Term[] terms)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Explanation Explain(Query query, int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Similarity GetSimilarity()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  Search(Query query, Collector results)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  Search(Query query, Filter filter, Collector results)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override TopDocs Search(Query query, Filter filter, int n)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override TopFieldDocs Search(Query query, Filter filter, int n, Sort sort)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override TopDocs Search(Query query, int n)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetSimilarity(Similarity similarity)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int DocFreq(Term term)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Explanation Explain(Weight weight, int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int MaxDoc()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Query Rewrite(Query query)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  Search(Weight weight, Filter filter, Collector results)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override TopDocs Search(Weight weight, Filter filter, int n)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override TopFieldDocs Search(Weight weight, Filter filter, int n, Sort sort)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Document Doc(int n, FieldSelector fieldSelector)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		internal sealed class JustCompileCollector:Collector
-		{
-			
-			public override void  Collect(int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetNextReader(IndexReader reader, int docBase)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetScorer(Scorer scorer)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override bool AcceptsDocsOutOfOrder()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		internal sealed class JustCompileDocIdSet:DocIdSet
-		{
-			
-			public override DocIdSetIterator Iterator()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		internal sealed class JustCompileDocIdSetIterator:DocIdSetIterator
-		{
-			
-			/// <deprecated> delete in 3.0 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public override int Doc()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int DocID()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			/// <deprecated> delete in 3.0 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public override bool Next()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			/// <deprecated> delete in 3.0 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public override bool SkipTo(int target)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int NextDoc()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int Advance(int target)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileExtendedFieldCacheLongParser : Lucene.Net.Search.LongParser
-		{
-			
-			public long ParseLong(System.String string_Renamed)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileExtendedFieldCacheDoubleParser : Lucene.Net.Search.DoubleParser
-		{
-			
-			public double ParseDouble(System.String string_Renamed)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		internal sealed class JustCompileFieldComparator:FieldComparator
-		{
-			
-			public override int Compare(int slot1, int slot2)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int CompareBottom(int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  Copy(int slot, int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetBottom(int slot)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetNextReader(IndexReader reader, int docBase)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override System.IComparable Value(int slot)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileFieldComparatorSource:FieldComparatorSource
-		{
-			
-			public override FieldComparator NewComparator(System.String fieldname, int numHits, int sortPos, bool reversed)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileFilter:Filter
-		{
-			// Filter is just an abstract class with no abstract methods. However it is
-			// still added here in case someone will add abstract methods in the future.
-		}
-		
-		internal sealed class JustCompileFilteredTermEnum:FilteredTermEnum
-		{
-			
-			public override float Difference()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override bool EndEnum()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public /*protected internal*/ override bool TermCompare(Term term)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileMultiTermQuery:MultiTermQuery
-		{
-			
-			public /*protected internal*/ override FilteredTermEnum GetEnum(IndexReader reader)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileQuery:Query
-		{
-			
-			public override System.String ToString(System.String field)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		internal sealed class JustCompileScorer:Scorer
-		{
-			
-			internal JustCompileScorer(Similarity similarity):base(similarity)
-			{
-			}
-			
-			public /*protected internal*/ override bool Score(Collector collector, int max, int firstDocID)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Explanation Explain(int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float Score()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			/// <deprecated> delete in 3.0 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public override int Doc()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int DocID()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			/// <deprecated> delete in 3.0. 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public override bool Next()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			/// <deprecated> delete in 3.0. 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public override bool SkipTo(int target)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int NextDoc()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override int Advance(int target)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileSimilarity:Similarity
-		{
-			
-			public override float Coord(int overlap, int maxOverlap)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float Idf(int docFreq, int numDocs)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float LengthNorm(System.String fieldName, int numTokens)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float QueryNorm(float sumOfSquaredWeights)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float SloppyFreq(int distance)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float Tf(float freq)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileSpanFilter:SpanFilter
-		{
-			
-			public override SpanFilterResult BitSpans(IndexReader reader)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		internal sealed class JustCompileTopDocsCollector:TopDocsCollector<ScoreDoc>
-		{
-			
-			internal JustCompileTopDocsCollector(PriorityQueue<ScoreDoc> pq):base(pq)
-			{
-			}
-			
-			public override void  Collect(int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetNextReader(IndexReader reader, int docBase)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  SetScorer(Scorer scorer)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override bool AcceptsDocsOutOfOrder()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-		
-		[Serializable]
-		internal sealed class JustCompileWeight:Weight
-		{
-			
-			public override Explanation Explain(IndexReader reader, int doc)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Query GetQuery()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float GetValue()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override void  Normalize(float norm)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			/// <deprecated> delete in 3.0 
-			/// </deprecated>
-            [Obsolete("delete in 3.0")]
-			public Scorer Scorer(IndexReader reader)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override float SumOfSquaredWeights()
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-			
-			public override Scorer Scorer(IndexReader reader, bool scoreDocsInOrder, bool topScorer)
-			{
-				throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
-			}
-		}
-	}
-}
\ No newline at end of file
+//            /// <summary>
+//            /// .NET
+//            /// </summary>
+//            public override void Dispose()
+//            {
+//                Close();
+//            }
+			
+//            public override Document Doc(int i)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int[] DocFreqs(Term[] terms)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Explanation Explain(Query query, int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Similarity GetSimilarity()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  Search(Query query, Collector results)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  Search(Query query, Filter filter, Collector results)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override TopDocs Search(Query query, Filter filter, int n)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override TopFieldDocs Search(Query query, Filter filter, int n, Sort sort)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override TopDocs Search(Query query, int n)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetSimilarity(Similarity similarity)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int DocFreq(Term term)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Explanation Explain(Weight weight, int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int MaxDoc()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Query Rewrite(Query query)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  Search(Weight weight, Filter filter, Collector results)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override TopDocs Search(Weight weight, Filter filter, int n)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override TopFieldDocs Search(Weight weight, Filter filter, int n, Sort sort)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Document Doc(int n, FieldSelector fieldSelector)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        internal sealed class JustCompileCollector:Collector
+//        {
+			
+//            public override void  Collect(int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetNextReader(IndexReader reader, int docBase)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetScorer(Scorer scorer)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override bool AcceptsDocsOutOfOrder()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        internal sealed class JustCompileDocIdSet:DocIdSet
+//        {
+			
+//            public override DocIdSetIterator Iterator()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        internal sealed class JustCompileDocIdSetIterator:DocIdSetIterator
+//        {
+			
+//            /// <deprecated> delete in 3.0 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public override int Doc()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int DocID()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            /// <deprecated> delete in 3.0 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public override bool Next()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            /// <deprecated> delete in 3.0 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public override bool SkipTo(int target)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int NextDoc()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int Advance(int target)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileExtendedFieldCacheLongParser : Lucene.Net.Search.LongParser
+//        {
+			
+//            public long ParseLong(System.String string_Renamed)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileExtendedFieldCacheDoubleParser : Lucene.Net.Search.DoubleParser
+//        {
+			
+//            public double ParseDouble(System.String string_Renamed)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        internal sealed class JustCompileFieldComparator:FieldComparator
+//        {
+			
+//            public override int Compare(int slot1, int slot2)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int CompareBottom(int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  Copy(int slot, int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetBottom(int slot)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetNextReader(IndexReader reader, int docBase)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override System.IComparable Value(int slot)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileFieldComparatorSource:FieldComparatorSource
+//        {
+			
+//            public override FieldComparator NewComparator(System.String fieldname, int numHits, int sortPos, bool reversed)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+				
+//        internal sealed class JustCompileFilteredTermEnum:FilteredTermEnum
+//        {
+			
+//            public override float Difference()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override bool EndEnum()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public /*protected internal*/ override bool TermCompare(Term term)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileMultiTermQuery:MultiTermQuery
+//        {
+			
+//            public /*protected internal*/ override FilteredTermEnum GetEnum(IndexReader reader)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileQuery:Query
+//        {
+			
+//            public override System.String ToString(System.String field)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        internal sealed class JustCompileScorer:Scorer
+//        {
+			
+//            internal JustCompileScorer(Similarity similarity):base(similarity)
+//            {
+//            }
+			
+//            public /*protected internal*/ override bool Score(Collector collector, int max, int firstDocID)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Explanation Explain(int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float Score()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            /// <deprecated> delete in 3.0 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public override int Doc()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int DocID()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            /// <deprecated> delete in 3.0. 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public override bool Next()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            /// <deprecated> delete in 3.0. 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public override bool SkipTo(int target)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int NextDoc()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override int Advance(int target)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileSimilarity:Similarity
+//        {
+			
+//            public override float Coord(int overlap, int maxOverlap)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float Idf(int docFreq, int numDocs)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float LengthNorm(System.String fieldName, int numTokens)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float QueryNorm(float sumOfSquaredWeights)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float SloppyFreq(int distance)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float Tf(float freq)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileSpanFilter:SpanFilter
+//        {
+			
+//            public override SpanFilterResult BitSpans(IndexReader reader)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        internal sealed class JustCompileTopDocsCollector:TopDocsCollector<ScoreDoc>
+//        {
+			
+//            internal JustCompileTopDocsCollector(PriorityQueue<ScoreDoc> pq):base(pq)
+//            {
+//            }
+			
+//            public override void  Collect(int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetNextReader(IndexReader reader, int docBase)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  SetScorer(Scorer scorer)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override bool AcceptsDocsOutOfOrder()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+		
+//        [Serializable]
+//        internal sealed class JustCompileWeight:Weight
+//        {
+			
+//            public override Explanation Explain(IndexReader reader, int doc)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Query GetQuery()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float GetValue()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override void  Normalize(float norm)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            /// <deprecated> delete in 3.0 
+//            /// </deprecated>
+//            [Obsolete("delete in 3.0")]
+//            public Scorer Scorer(IndexReader reader)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override float SumOfSquaredWeights()
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+			
+//            public override Scorer Scorer(IndexReader reader, bool scoreDocsInOrder, bool topScorer)
+//            {
+//                throw new System.NotSupportedException(Lucene.Net.Search.JustCompileSearch.UNSUPPORTED_MSG);
+//            }
+//        }
+//    }
+//}
\ No newline at end of file

Modified: incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/TestCachingWrapperFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/TestCachingWrapperFilter.cs?rev=1104611&r1=1104610&r2=1104611&view=diff
==============================================================================
--- incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/TestCachingWrapperFilter.cs (original)
+++ incubator/lucene.net/branches/Lucene.Net_2_9_4g/test/core/Search/TestCachingWrapperFilter.cs Tue May 17 22:41:07 2011
@@ -197,9 +197,9 @@ namespace Lucene.Net.Search
 
         class AnonymousFilter4 : Filter
         {
-            public override System.Collections.BitArray Bits(IndexReader reader)
+            public override DocIdSet GetDocIdSet(IndexReader reader)
             {
-                return new System.Collections.BitArray(100000); //DIGY
+                return new OpenBitSet();
             }
         }
 



Mime
View raw message