lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r890060 [1/2] - in /incubator/lucene.net/trunk/C#/src: Lucene.Net/Analysis/ Lucene.Net/Analysis/Standard/ Lucene.Net/Document/ Lucene.Net/Index/ Lucene.Net/QueryParser/ Lucene.Net/Search/ Lucene.Net/Search/Function/ Lucene.Net/Search/Spans/...
Date Sun, 13 Dec 2009 13:38:02 GMT
Author: digy
Date: Sun Dec 13 13:37:58 2009
New Revision: 890060

URL: http://svn.apache.org/viewvc?rev=890060&view=rev
Log:
added Obsolete attribute to deprecated methods/classes of Lucene.Java 2.9.1

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/SinkTokenizer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardAnalyzer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopAnalyzer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TeeTokenFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Token.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Document.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexReader.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/MultiFieldQueryParser.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParser.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer2.cs
    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/ConjunctionScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreRangeQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionSumScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DocIdSetIterator.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ExtendedFieldCache.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCache.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheRangeFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheTermsFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Filter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredDocIdSetIterator.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/ValueSourceQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Hit.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitIterator.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/IndexSearcher.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MatchAllDocsQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiTermQueryWrapperFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryWrapperFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeFilter.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqExclScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqOptSumScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreCachingWrappingScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreDocComparator.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Scorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searchable.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searcher.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortField.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SpanFilterResult.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/FieldMaskingSpanQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanFirstQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNearQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNotQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanOrQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanTermQuery.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TermScorer.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TimeLimitedCollector.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TopDocCollector.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/RAMDirectory.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/DocIdBitSet.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/OpenBitSetIterator.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/PriorityQueue.cs
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/SortedVIntList.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestDocIdSet.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestPositiveScoresOnlyCollector.cs
    incubator/lucene.net/trunk/C#/src/Test/Search/TestScoreCachingWrappingScorer.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/SinkTokenizer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/SinkTokenizer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/SinkTokenizer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/SinkTokenizer.cs Sun Dec 13 13:37:58 2009
@@ -33,6 +33,7 @@
 	/// 
 	/// 
 	/// </deprecated>
+    [Obsolete("Use TeeSinkTokenFilter instead")]
 	public class SinkTokenizer:Tokenizer
 	{
 		protected internal System.Collections.IList lst = new System.Collections.ArrayList();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/Standard/StandardAnalyzer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardAnalyzer.cs Sun Dec 13 13:37:58 2009
@@ -97,6 +97,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #STOP_WORDS_SET} instead 
 		/// </deprecated>
+        [Obsolete("Use STOP_WORDS_SET instead ")]
 		public static readonly System.String[] STOP_WORDS;
 		
 		/// <summary>An unmodifiable set containing some common English words that are usually not
@@ -109,6 +110,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #StandardAnalyzer(Version)} instead. 
 		/// </deprecated>
+        [Obsolete("Use StandardAnalyzer(Version) instead")]
 		public StandardAnalyzer():this(Version.LUCENE_24, STOP_WORDS_SET)
 		{
 		}
@@ -127,6 +129,7 @@
 		/// <deprecated> Use {@link #StandardAnalyzer(Version, Set)}
 		/// instead 
 		/// </deprecated>
+        [Obsolete("Use StandardAnalyzer(Version, Set) instead")]
 		public StandardAnalyzer(System.Collections.Hashtable stopWords):this(Version.LUCENE_24, stopWords)
 		{
 		}
@@ -146,6 +149,7 @@
 		/// <summary>Builds an analyzer with the given stop words.</summary>
 		/// <deprecated> Use {@link #StandardAnalyzer(Version, Set)} instead 
 		/// </deprecated>
+        [Obsolete("Use StandardAnalyzer(Version, Set) instead")]
 		public StandardAnalyzer(System.String[] stopWords):this(Version.LUCENE_24, StopFilter.MakeStopSet(stopWords))
 		{
 		}
@@ -156,6 +160,7 @@
 		/// <deprecated> Use {@link #StandardAnalyzer(Version, File)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use StandardAnalyzer(Version, File) instead")]
 		public StandardAnalyzer(System.IO.FileInfo stopwords):this(Version.LUCENE_24, stopwords)
 		{
 		}
@@ -180,6 +185,7 @@
 		/// <deprecated> Use {@link #StandardAnalyzer(Version, Reader)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use StandardAnalyzer(Version, Reader) instead")]
 		public StandardAnalyzer(System.IO.TextReader stopwords):this(Version.LUCENE_24, stopwords)
 		{
 		}
@@ -340,6 +346,7 @@
 		
 		/// <deprecated> Use {@link #tokenStream} instead 
 		/// </deprecated>
+        [Obsolete("Use TokenStream instead")]
 		public override TokenStream ReusableTokenStream(System.String fieldName, System.IO.TextReader reader)
 		{
 			if (overridesTokenStreamMethod)

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/Standard/StandardTokenizer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizer.cs Sun Dec 13 13:37:58 2009
@@ -119,6 +119,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #StandardTokenizer(Version, Reader)} instead
 		/// </deprecated>
+        [Obsolete("Use StandardTokenizer(Version, Reader) instead")]
 		public StandardTokenizer(System.IO.TextReader input):this(Version.LUCENE_24, input)
 		{
 		}
@@ -135,6 +136,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StandardTokenizer(Version, Reader)} instead
 		/// </deprecated>
+        [Obsolete("Use StandardTokenizer(Version, Reader) instead")]
 		public StandardTokenizer(System.IO.TextReader input, bool replaceInvalidAcronym):base()
 		{
 			InitBlock();
@@ -163,6 +165,7 @@
 		/// {@link #StandardTokenizer(Version, AttributeSource, Reader)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use StandardTokenizer(Version, AttributeSource, Reader) instead")]
 		public StandardTokenizer(AttributeSource source, System.IO.TextReader input, bool replaceInvalidAcronym):base(source)
 		{
 			InitBlock();
@@ -183,6 +186,7 @@
 		/// {@link #StandardTokenizer(Version, org.apache.lucene.util.AttributeSource.AttributeFactory, Reader)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use StandardTokenizer(Version, Lucene.Net.Util.AttributeSource.AttributeFactory, Reader) instead")]
 		public StandardTokenizer(AttributeFactory factory, System.IO.TextReader input, bool replaceInvalidAcronym):base(factory)
 		{
 			InitBlock();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/StopAnalyzer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopAnalyzer.cs Sun Dec 13 13:37:58 2009
@@ -46,6 +46,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #ENGLISH_STOP_WORDS_SET} instead 
 		/// </deprecated>
+        [Obsolete("Use ENGLISH_STOP_WORDS_SET instead ")]
 		public static readonly System.String[] ENGLISH_STOP_WORDS = new System.String[]{"a", "an", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"};
 		
 		/// <summary>An unmodifiable set containing some common English words that are not usually useful
@@ -58,6 +59,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #StopAnalyzer(Version)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version) instead")]
 		public StopAnalyzer()
 		{
 			stopWords = ENGLISH_STOP_WORDS_SET;
@@ -81,6 +83,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopAnalyzer(Version)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version) instead")]
 		public StopAnalyzer(bool enablePositionIncrements)
 		{
 			stopWords = ENGLISH_STOP_WORDS_SET;
@@ -91,6 +94,7 @@
 		/// <summary>Builds an analyzer with the stop words from the given set.</summary>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, Set)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, Set) instead")]
 		public StopAnalyzer(System.Collections.Hashtable stopWords)
 		{
 			this.stopWords = stopWords;
@@ -114,6 +118,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, Set)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, Set) instead")]
 		public StopAnalyzer(System.Collections.Hashtable stopWords, bool enablePositionIncrements)
 		{
 			this.stopWords = stopWords;
@@ -126,6 +131,7 @@
 		/// </deprecated>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, Set)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Set, boolean) or StopAnalyzer(Version, Set) instead ")]
 		public StopAnalyzer(System.String[] stopWords)
 		{
 			this.stopWords = StopFilter.MakeStopSet(stopWords);
@@ -141,6 +147,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, Set)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, Set) instead")]
 		public StopAnalyzer(System.String[] stopWords, bool enablePositionIncrements)
 		{
 			this.stopWords = StopFilter.MakeStopSet(stopWords);
@@ -153,6 +160,7 @@
 		/// </seealso>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, File)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, File) instead")]
 		public StopAnalyzer(System.IO.FileInfo stopwordsFile)
 		{
 			stopWords = WordlistLoader.GetWordSet(stopwordsFile);
@@ -170,6 +178,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, File)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, File) instead")]
 		public StopAnalyzer(System.IO.FileInfo stopwordsFile, bool enablePositionIncrements)
 		{
 			stopWords = WordlistLoader.GetWordSet(stopwordsFile);
@@ -198,6 +207,7 @@
 		/// </seealso>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, Reader)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, Reader) instead")]
 		public StopAnalyzer(System.IO.TextReader stopwords)
 		{
 			stopWords = WordlistLoader.GetWordSet(stopwords);
@@ -215,6 +225,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopAnalyzer(Version, Reader)} instead
 		/// </deprecated>
+        [Obsolete("Use StopAnalyzer(Version, Reader) instead")]
 		public StopAnalyzer(System.IO.TextReader stopwords, bool enablePositionIncrements)
 		{
 			stopWords = WordlistLoader.GetWordSet(stopwords);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/StopFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopFilter.cs Sun Dec 13 13:37:58 2009
@@ -42,6 +42,7 @@
 		/// <summary> Construct a token stream filtering the given input.</summary>
 		/// <deprecated> Use {@link #StopFilter(boolean, TokenStream, String[])} instead
 		/// </deprecated>
+        [Obsolete("Use StopFilter(bool, TokenStream, String[]) instead")]
 		public StopFilter(TokenStream input, System.String[] stopWords):this(ENABLE_POSITION_INCREMENTS_DEFAULT, input, stopWords, false)
 		{
 		}
@@ -55,6 +56,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopFilter(boolean, TokenStream, Set)} instead.
 		/// </deprecated>
+        [Obsolete("Use StopFilter(bool, TokenStream, Hashtable) instead.")]
 		public StopFilter(bool enablePositionIncrements, TokenStream input, System.String[] stopWords):this(enablePositionIncrements, input, stopWords, false)
 		{
 		}
@@ -64,6 +66,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #StopFilter(boolean, TokenStream, String[], boolean)} instead
 		/// </deprecated>
+        [Obsolete("Use {@link #StopFilter(bool, TokenStream, String[], bool)} instead")]
 		public StopFilter(TokenStream in_Renamed, System.String[] stopWords, bool ignoreCase):this(ENABLE_POSITION_INCREMENTS_DEFAULT, in_Renamed, stopWords, ignoreCase)
 		{
 		}
@@ -81,6 +84,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopFilter(boolean, TokenStream, Set, boolean)} instead.
 		/// </deprecated>
+        [Obsolete("Use StopFilter(bool, TokenStream, Hashtable, bool) instead.")]
 		public StopFilter(bool enablePositionIncrements, TokenStream in_Renamed, System.String[] stopWords, bool ignoreCase):base(in_Renamed)
 		{
 			this.stopWords = (CharArraySet) MakeStopSet(stopWords, ignoreCase);
@@ -108,6 +112,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #StopFilter(boolean, TokenStream, Set, boolean)} instead
 		/// </deprecated>
+        [Obsolete("Use StopFilter(bool, TokenStream, Set, bool) instead")]
 		public StopFilter(TokenStream input, System.Collections.Hashtable stopWords, bool ignoreCase):this(ENABLE_POSITION_INCREMENTS_DEFAULT, input, stopWords, ignoreCase)
 		{
 		}
@@ -154,6 +159,7 @@
 		/// </seealso>
 		/// <deprecated> Use {@link #StopFilter(boolean, TokenStream, Set)} instead
 		/// </deprecated>
+        [Obsolete("Use StopFilter(bool, TokenStream, Hashtable) instead")]
 		public StopFilter(TokenStream in_Renamed, System.Collections.Hashtable stopWords):this(ENABLE_POSITION_INCREMENTS_DEFAULT, in_Renamed, stopWords, false)
 		{
 		}

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TeeTokenFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/TeeTokenFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TeeTokenFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TeeTokenFilter.cs Sun Dec 13 13:37:58 2009
@@ -61,6 +61,7 @@
 	/// <deprecated> Use {@link TeeSinkTokenFilter} instead
 	/// 
 	/// </deprecated>
+    [Obsolete("Use TeeSinkTokenFilter instead")]
 	public class TeeTokenFilter:TokenFilter
 	{
 		internal SinkTokenizer sink;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Token.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Analysis/Token.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Token.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Token.cs Sun Dec 13 13:37:58 2009
@@ -374,6 +374,7 @@
 		/// {@link #SetTermBuffer(String)} or
 		/// {@link #SetTermBuffer(String, int, int)}.
 		/// </deprecated>
+        [Obsolete("Use SetTermBuffer(char[], int, int) or SetTermBuffer(String) or SetTermBuffer(String, int, int)")]
 		public virtual void  SetTermText(System.String text)
 		{
 			termText = text;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Document.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Document/Document.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Document.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Document.cs Sun Dec 13 13:37:58 2009
@@ -246,6 +246,7 @@
 		/// <summary>Returns an Enumeration of all the fields in a document.</summary>
 		/// <deprecated> use {@link #GetFields()} instead
 		/// </deprecated>
+        [Obsolete("Use GetFields() instead")]
 		public System.Collections.IEnumerator Fields()
 		{
 			return new AnonymousClassEnumeration(this);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Document/Field.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs Sun Dec 13 13:37:58 2009
@@ -297,6 +297,7 @@
 		/// <summary>Expert: change the value of this field.  See <a href="#setValue(java.lang.String)">setValue(String)</a>.</summary>
 		/// <deprecated> use {@link #setTokenStream} 
 		/// </deprecated>
+        [Obsolete("use SetTokenStream ")]
 		public void  SetValue(TokenStream value_Renamed)
 		{
 			if (isBinary)

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/CheckIndex.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs Sun Dec 13 13:37:58 2009
@@ -45,6 +45,7 @@
 		/// <deprecated> Use {@link #setInfoStream} per instance,
 		/// instead. 
 		/// </deprecated>
+        [Obsolete("Use SetInfoStream per instance,instead.")]
 		public static System.IO.StreamWriter out_Renamed = null;
 		
 		private System.IO.StreamWriter infoStream;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/IndexReader.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexReader.cs Sun Dec 13 13:37:58 2009
@@ -253,6 +253,7 @@
 		/// </deprecated>
 		/// <param name="path">the path to the index directory 
 		/// </param>
+        [Obsolete("Use Open(Directory, boolean) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(System.String path)
 		{
 			return Open(path, false);
@@ -275,6 +276,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use Open(Directory, bool) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(System.String path, bool readOnly)
 		{
 			Directory dir = FSDirectory.GetDirectory(path);
@@ -302,6 +304,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use Open(Directory, bool) instead.This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(System.IO.FileInfo path)
 		{
 			return Open(path, false);
@@ -324,6 +327,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use Open(Directory, bool) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(System.IO.FileInfo path, bool readOnly)
 		{
 			Directory dir = FSDirectory.GetDirectory(path);
@@ -351,6 +355,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use Open(Directory, bool) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(Directory directory)
 		{
 			return Open(directory, null, null, false, DEFAULT_TERMS_INDEX_DIVISOR);
@@ -384,6 +389,7 @@
 		/// 
 		/// </deprecated>
 		/// <throws>  IOException if there is a low-level IO error </throws>
+        [Obsolete("Use Open(IndexCommit, bool) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(IndexCommit commit)
 		{
 			return Open(commit.GetDirectory(), null, commit, false, DEFAULT_TERMS_INDEX_DIVISOR);
@@ -421,6 +427,7 @@
 		/// </deprecated>
 		/// <throws>  CorruptIndexException if the index is corrupt </throws>
 		/// <throws>  IOException if there is a low-level IO error </throws>
+        [Obsolete("Use Open(Directory, IndexDeletionPolicy, bool) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(Directory directory, IndexDeletionPolicy deletionPolicy)
 		{
 			return Open(directory, deletionPolicy, null, false, DEFAULT_TERMS_INDEX_DIVISOR);
@@ -499,6 +506,7 @@
 		/// </deprecated>
 		/// <throws>  CorruptIndexException if the index is corrupt </throws>
 		/// <throws>  IOException if there is a low-level IO error </throws>
+        [Obsolete("Use Open(IndexCommit, IndexDeletionPolicy, bool) instead. This method will be removed in the 3.0 release.")]
 		public static IndexReader Open(IndexCommit commit, IndexDeletionPolicy deletionPolicy)
 		{
 			return Open(commit.GetDirectory(), deletionPolicy, commit, false, DEFAULT_TERMS_INDEX_DIVISOR);
@@ -713,6 +721,7 @@
 		/// <deprecated> Use {@link #LastModified(Directory)} instead.
 		/// This method will be removed in the 3.0 release.
 		/// </deprecated>
+        [Obsolete("Use LastModified(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static long LastModified(System.String directory)
 		{
 			return LastModified(new System.IO.FileInfo(directory));
@@ -728,6 +737,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use LastModified(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static long LastModified(System.IO.FileInfo fileDirectory)
 		{
 			Directory dir = FSDirectory.GetDirectory(fileDirectory); // use new static method here
@@ -766,6 +776,7 @@
 		/// <deprecated> Use {@link #GetCurrentVersion(Directory)} instead.
 		/// This method will be removed in the 3.0 release.
 		/// </deprecated>
+        [Obsolete("Use GetCurrentVersion(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static long GetCurrentVersion(System.String directory)
 		{
 			return GetCurrentVersion(new System.IO.FileInfo(directory));
@@ -785,6 +796,7 @@
 		/// <deprecated> Use {@link #GetCurrentVersion(Directory)} instead.
 		/// This method will be removed in the 3.0 release.
 		/// </deprecated>
+        [Obsolete("Use GetCurrentVersion(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static long GetCurrentVersion(System.IO.FileInfo directory)
 		{
 			Directory dir = FSDirectory.GetDirectory(directory);
@@ -1030,6 +1042,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use IndexExists(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static bool IndexExists(System.String directory)
 		{
 			return IndexExists(new System.IO.FileInfo(directory));
@@ -1046,7 +1059,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
-		
+        [Obsolete("Use IndexExists(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static bool IndexExists(System.IO.FileInfo directory)
 		{
             System.String[] list = null;
@@ -1571,6 +1584,7 @@
 		/// This method will be removed in the 3.0 release.
 		/// 
 		/// </deprecated>
+        [Obsolete("Use IsLocked(Directory) instead. This method will be removed in the 3.0 release.")]
 		public static bool IsLocked(System.String directory)
 		{
 			Directory dir = FSDirectory.GetDirectory(directory);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/IndexWriter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs Sun Dec 13 13:37:58 2009
@@ -1086,8 +1086,9 @@
 		/// </summary>
 		/// <deprecated> Use {@link #IndexWriter(Directory, Analyzer,
 		/// boolean, MaxFieldLength)}
-		/// </deprecated>
-		public IndexWriter(System.String path, Analyzer a, bool create, MaxFieldLength mfl)
+        /// </deprecated>
+        [Obsolete("Use IndexWriter(Directory, Analyzer,boolean, MaxFieldLength)")]
+        public IndexWriter(System.String path, Analyzer a, bool create, MaxFieldLength mfl)
 		{
 			InitBlock();
 			Init(FSDirectory.GetDirectory(path), a, create, true, null, false, mfl.GetLimit(), null, null);
@@ -1162,6 +1163,7 @@
 		/// <deprecated> Use {@link #IndexWriter(Directory,
 		/// Analyzer, boolean, MaxFieldLength)}
 		/// </deprecated>
+        [Obsolete("Use IndexWriter(Directory, Analyzer, boolean, MaxFieldLength)")]
 		public IndexWriter(System.IO.FileInfo path, Analyzer a, bool create, MaxFieldLength mfl)
 		{
 			InitBlock();
@@ -1302,6 +1304,7 @@
 		/// </summary>
 		/// <deprecated> Use {@link #IndexWriter(Directory, Analyzer, MaxFieldLength)}
 		/// </deprecated>
+        [Obsolete("Use IndexWriter(Directory, Analyzer, MaxFieldLength)")]
 		public IndexWriter(System.String path, Analyzer a, MaxFieldLength mfl)
 		{
 			InitBlock();
@@ -1366,6 +1369,7 @@
 		/// <deprecated> Use {@link #IndexWriter(Directory,
 		/// Analyzer, MaxFieldLength)}
 		/// </deprecated>
+        [Obsolete("Use {@link #IndexWriter(Directory,Analyzer, MaxFieldLength)")]
 		public IndexWriter(System.IO.FileInfo path, Analyzer a, MaxFieldLength mfl)
 		{
 			InitBlock();
@@ -4087,6 +4091,7 @@
 		/// </deprecated>
 		/// <throws>  CorruptIndexException if the index is corrupt </throws>
 		/// <throws>  IOException if there is a low-level IO error </throws>
+        [Obsolete("Use {@link #addIndexesNoOptimize} instead,then separately call {@link #optimize} afterwards if you need to.")]
 		public virtual void  AddIndexes(Directory[] dirs)
 		{
 			
@@ -6504,6 +6509,7 @@
 		/// <throws>  IOException if there is a low-level IO error </throws>
 		/// <deprecated> Use {@link #IsLocked(Directory)}
 		/// </deprecated>
+        [Obsolete("Use IsLocked(Directory)")]
 		public static bool IsLocked(System.String directory)
 		{
 			Directory dir = FSDirectory.GetDirectory(directory);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/MultiFieldQueryParser.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/QueryParser/MultiFieldQueryParser.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/MultiFieldQueryParser.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/MultiFieldQueryParser.cs Sun Dec 13 13:37:58 2009
@@ -322,6 +322,7 @@
 		/// <deprecated> Use {@link #Parse(Version,String[],String[],Analyzer)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use Parse(Version,String[],String[],Analyzer) instead")]
 		public static Query Parse(System.String[] queries, System.String[] fields, Analyzer analyzer)
 		{
 			return Parse(Version.LUCENE_24, queries, fields, analyzer);
@@ -409,6 +410,7 @@
 		/// {@link #Parse(Version, String, String[], BooleanClause.Occur[], Analyzer)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use Parse(Version, String, String[], BooleanClause.Occur[], Analyzer) instead")]
 		public static Query Parse(System.String query, System.String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
 		{
 			return Parse(Version.LUCENE_24, query, fields, flags, analyzer);
@@ -512,6 +514,7 @@
 		/// {@link #Parse(Version, String[], String[], BooleanClause.Occur[], Analyzer)}
 		/// instead
 		/// </deprecated>
+        [Obsolete("Use Parse(Version, String[], String[], BooleanClause.Occur[], Analyzer) instead")]
 		public static Query Parse(System.String[] queries, System.String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
 		{
 			return Parse(Version.LUCENE_24, queries, fields, flags, analyzer);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParser.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/QueryParser/QueryParser.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParser.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParser.cs Sun Dec 13 13:37:58 2009
@@ -192,6 +192,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #QueryParser(Version, String, Analyzer)} instead
 		/// </deprecated>
+        [Obsolete("Use QueryParser(Version, String, Analyzer) instead")]
 		public QueryParser(System.String f, Analyzer a):this(Version.LUCENE_24, f, a)
 		{
 		}
@@ -542,6 +543,7 @@
 		
 		/// <deprecated> use {@link #AddClause(List, int, int, Query)} instead.
 		/// </deprecated>
+        [Obsolete("use AddClause(List, int, int, Query) instead.")]
 		protected internal virtual void  AddClause(System.Collections.ArrayList clauses, int conj, int mods, Query q)
 		{
 			AddClause((System.Collections.IList) clauses, conj, mods, q);
@@ -1050,6 +1052,7 @@
 		/// </exception>
 		/// <deprecated> use {@link #GetBooleanQuery(List)} instead
 		/// </deprecated>
+        [Obsolete("use GetBooleanQuery(List) instead")]
 		protected internal virtual Query GetBooleanQuery(System.Collections.ArrayList clauses)
 		{
 			return GetBooleanQuery((System.Collections.IList) clauses, false);
@@ -1094,6 +1097,7 @@
 		/// </exception>
 		/// <deprecated> use {@link #GetBooleanQuery(List, boolean)} instead
 		/// </deprecated>
+        [Obsolete("use GetBooleanQuery(List, bool) instead")]
 		protected internal virtual Query GetBooleanQuery(System.Collections.ArrayList clauses, bool disableCoord)
 		{
 			return GetBooleanQuery((System.Collections.IList) clauses, disableCoord);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/BooleanQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs Sun Dec 13 13:37:58 2009
@@ -517,6 +517,7 @@
 		
 		/// <deprecated> Use {@link #SetAllowDocsOutOfOrder(boolean)} instead. 
 		/// </deprecated>
+        [Obsolete("Use SetAllowDocsOutOfOrder(bool) instead.")]
 		public static void  SetUseScorer14(bool use14)
 		{
 			SetAllowDocsOutOfOrder(use14);
@@ -524,6 +525,7 @@
 		
 		/// <deprecated> Use {@link #GetAllowDocsOutOfOrder()} instead.
 		/// </deprecated>
+        [Obsolete("Use GetAllowDocsOutOfOrder() instead.")]
 		public static bool GetUseScorer14()
 		{
 			return GetAllowDocsOutOfOrder();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/BooleanScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer.cs Sun Dec 13 13:37:58 2009
@@ -138,6 +138,7 @@
 			
 			/// <deprecated> use {@link #DocID()} instead. 
 			/// </deprecated>
+            [Obsolete("use DocID() instead.")]
 			public override int Doc()
 			{
 				return doc;
@@ -155,6 +156,7 @@
 			
 			/// <deprecated> use {@link #NextDoc()} instead. 
 			/// </deprecated>
+            [Obsolete("use NextDoc() instead. ")]
 			public override bool Next()
 			{
 				return false;
@@ -172,6 +174,7 @@
 			
 			/// <deprecated> use {@link #Advance(int)} instead. 
 			/// </deprecated>
+            [Obsolete("use Advance(int) instead. ")]
 			public override bool SkipTo(int target)
 			{
 				return false;
@@ -358,6 +361,7 @@
 		
 		/// <deprecated> use {@link #Score(Collector, int, int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Score(Collector, int, int) instead.")]
 		protected internal override bool Score(HitCollector hc, int max)
 		{
 			return Score(new HitCollectorWrapper(hc), max, DocID());
@@ -370,6 +374,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead. ")]
 		public override int Doc()
 		{
 			return current.doc;
@@ -387,6 +392,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead. ")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -443,6 +449,7 @@
 		
 		/// <deprecated> use {@link #Score(Collector)} instead. 
 		/// </deprecated>
+        [Obsolete("use Score(Collector) instead. ")]
 		public override void  Score(HitCollector hc)
 		{
 			Score(new HitCollectorWrapper(hc));
@@ -450,6 +457,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead. ")]
 		public override bool SkipTo(int target)
 		{
 			throw new System.NotSupportedException();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer2.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/BooleanScorer2.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer2.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer2.cs Sun Dec 13 13:37:58 2009
@@ -245,6 +245,7 @@
 			}
 			/// <deprecated> use {@link #DocID()} instead. 
 			/// </deprecated>
+            [Obsolete("use DocID() instead. ")]
 			public override int Doc()
 			{
 				return scorer.Doc();
@@ -255,6 +256,7 @@
 			}
 			/// <deprecated> use {@link #NextDoc()} instead. 
 			/// </deprecated>
+            [Obsolete("use NextDoc() instead. ")]
 			public override bool Next()
 			{
 				return scorer.NextDoc() != NO_MORE_DOCS;
@@ -265,6 +267,7 @@
 			}
 			/// <deprecated> use {@link #Advance(int)} instead. 
 			/// </deprecated>
+            [Obsolete("use Advance(int) instead. ")]
 			public override bool SkipTo(int docNr)
 			{
 				return scorer.Advance(docNr) != NO_MORE_DOCS;
@@ -372,6 +375,7 @@
 		/// </param>
 		/// <deprecated> use {@link #Score(Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Score(Collector) instead.")]
 		public override void  Score(HitCollector hc)
 		{
 			Score(new HitCollectorWrapper(hc));
@@ -403,6 +407,7 @@
 		/// </returns>
 		/// <deprecated> use {@link #Score(Collector, int, int)} instead.
 		/// </deprecated>
+        [Obsolete("use Score(Collector, int, int) instead.")]
 		protected internal override bool Score(HitCollector hc, int max)
 		{
 			return Score(new HitCollectorWrapper(hc), max, DocID());
@@ -422,6 +427,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead. ")]
 		public override int Doc()
 		{
 			return countingSumScorer.Doc();
@@ -434,6 +440,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead. ")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -453,6 +460,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead. ")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;

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=890060&r1=890059&r2=890060&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 Sun Dec 13 13:37:58 2009
@@ -44,6 +44,7 @@
 		
 		/// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
 		/// </deprecated>
+        [Obsolete("Use GetDocIdSet(IndexReader) instead.")]
 		public override System.Collections.BitArray Bits(IndexReader reader)
 		{
 			SpanFilterResult result = GetCachedResult(reader);

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=890060&r1=890059&r2=890060&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 Sun Dec 13 13:37:58 2009
@@ -46,6 +46,7 @@
 		
 		/// <deprecated> Use {@link #GetDocIdSet(IndexReader)} instead.
 		/// </deprecated>
+        [Obsolete("Use GetDocIdSet(IndexReader) instead.")]
 		public override System.Collections.BitArray Bits(IndexReader reader)
 		{
 			if (cache == null)

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConjunctionScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ConjunctionScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConjunctionScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConjunctionScorer.cs Sun Dec 13 13:37:58 2009
@@ -141,6 +141,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public override int Doc()
 		{
 			return lastDoc;
@@ -158,6 +159,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -189,6 +191,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ConstantScoreQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreQuery.cs Sun Dec 13 13:37:58 2009
@@ -181,6 +181,7 @@
 			
 			/// <deprecated> use {@link #NextDoc()} instead. 
 			/// </deprecated>
+            [Obsolete("use NextDoc() instead.")]
 			public override bool Next()
 			{
 				return docIdSetIterator.NextDoc() != NO_MORE_DOCS;
@@ -193,6 +194,7 @@
 			
 			/// <deprecated> use {@link #DocID()} instead. 
 			/// </deprecated>
+            [Obsolete("use DocID() instead. ")]
 			public override int Doc()
 			{
 				return docIdSetIterator.Doc();
@@ -210,6 +212,7 @@
 			
 			/// <deprecated> use {@link #Advance(int)} instead. 
 			/// </deprecated>
+            [Obsolete("use Advance(int) instead. ")]
 			public override bool SkipTo(int target)
 			{
 				return docIdSetIterator.Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreRangeQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ConstantScoreRangeQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreRangeQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreRangeQuery.cs Sun Dec 13 13:37:58 2009
@@ -39,6 +39,7 @@
 	/// </deprecated>
 	/// <version>  $Id: ConstantScoreRangeQuery.java 797694 2009-07-25 00:03:33Z mikemccand $
 	/// </version>
+    [Obsolete("Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0.")]
 	[Serializable]
 	public class ConstantScoreRangeQuery:TermRangeQuery
 	{

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/DisjunctionMaxScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxScorer.cs Sun Dec 13 13:37:58 2009
@@ -69,6 +69,7 @@
 		/// </returns>
 		/// <deprecated> use {@link #NextDoc()} instead.
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -99,6 +100,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead. ")]
 		public override int Doc()
 		{
 			return subScorers[0].Doc();
@@ -146,6 +148,7 @@
 		/// </returns>
 		/// <deprecated> use {@link #Advance(int)} instead.
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionSumScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/DisjunctionSumScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionSumScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionSumScorer.cs Sun Dec 13 13:37:58 2009
@@ -122,6 +122,7 @@
 		/// </param>
 		/// <deprecated> use {@link #Score(Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Score(Collector) instead.")]
 		public override void  Score(HitCollector hc)
 		{
 			Score(new HitCollectorWrapper(hc));
@@ -153,6 +154,7 @@
 		/// </returns>
 		/// <deprecated> use {@link #Score(Collector, int, int)} instead.
 		/// </deprecated>
+        [Obsolete("use Score(Collector, int, int) instead.")]
 		protected internal override bool Score(HitCollector hc, int max)
 		{
 			return Score(new HitCollectorWrapper(hc), max, DocID());
@@ -185,6 +187,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead. ")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -267,6 +270,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead. ")]
 		public override int Doc()
 		{
 			return currentDoc;
@@ -298,6 +302,7 @@
 		/// </returns>
 		/// <deprecated> use {@link #Advance(int)} instead.
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DocIdSetIterator.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/DocIdSetIterator.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DocIdSetIterator.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DocIdSetIterator.cs Sun Dec 13 13:37:58 2009
@@ -43,6 +43,7 @@
 		/// </summary>
 		/// <deprecated> use {@link #DocID()} instead.
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public virtual int Doc()
 		{
 			throw new System.NotSupportedException("Call docID() instead.");
@@ -72,6 +73,7 @@
 		/// </summary>
 		/// <deprecated> use {@link #NextDoc()} instead. This will be removed in 3.0
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead. This will be removed in 3.0")]
 		public virtual bool Next()
 		{
 			throw new System.NotSupportedException("Call nextDoc() instead.");
@@ -83,6 +85,7 @@
 		/// </summary>
 		/// <deprecated> use {@link #Advance(int)} instead. This will be removed in 3.0
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead. This will be removed in 3.0")]
 		public virtual bool SkipTo(int target)
 		{
 			throw new System.NotSupportedException("Call advance() instead.");

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ExtendedFieldCache.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ExtendedFieldCache.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ExtendedFieldCache.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ExtendedFieldCache.cs Sun Dec 13 13:37:58 2009
@@ -28,9 +28,11 @@
 	/// <deprecated> Use {@link FieldCache}, this will be removed in Lucene 3.0
 	/// 
 	/// </deprecated>
+    [Obsolete("Use FieldCache, this will be removed in Lucene 3.0")]
 	public struct ExtendedFieldCache_Fields{
 		/// <deprecated> Use {@link FieldCache#DEFAULT}; this will be removed in Lucene 3.0 
 		/// </deprecated>
+        [Obsolete("Use FieldCache.DEFAULT; this will be removed in Lucene 3.0 ")]
 		public readonly static ExtendedFieldCache EXT_DEFAULT;
 		static ExtendedFieldCache_Fields()
 		{
@@ -51,12 +53,14 @@
 
 	/// <deprecated> Use {@link FieldCache.LongParser}, this will be removed in Lucene 3.0 
 	/// </deprecated>
+    [Obsolete("Use FieldCache.LongParser, this will be removed in Lucene 3.0 ")]
 	public interface LongParser:Lucene.Net.Search.LongParser
 	{
 	}
 
 	/// <deprecated> Use {@link FieldCache.DoubleParser}, this will be removed in Lucene 3.0 
 	/// </deprecated>
+    [Obsolete("Use FieldCache.DoubleParser, this will be removed in Lucene 3.0 ")]
 	public interface DoubleParser:Lucene.Net.Search.DoubleParser
 	{
 	}

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCache.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FieldCache.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCache.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCache.cs Sun Dec 13 13:37:58 2009
@@ -722,6 +722,7 @@
 	/// </seealso>
 	/// <deprecated> Use {@link FieldCache.LongParser}, this will be removed in Lucene 3.0 
 	/// </deprecated>
+    [Obsolete("Use FieldCache.LongParser, this will be removed in Lucene 3.0")]
 	public interface LongParser:Parser
 	{
 		/// <summary>Return an long representation of this field's value. </summary>
@@ -733,6 +734,7 @@
 	/// </seealso>
 	/// <deprecated> Use {@link FieldCache.DoubleParser}, this will be removed in Lucene 3.0 
 	/// </deprecated>
+    [Obsolete("Use FieldCache.DoubleParser, this will be removed in Lucene 3.0 ")]
 	public interface DoubleParser:Parser
 	{
 		/// <summary>Return an long representation of this field's value. </summary>

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheRangeFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FieldCacheRangeFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheRangeFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheRangeFilter.cs Sun Dec 13 13:37:58 2009
@@ -793,6 +793,7 @@
 				
 				/// <deprecated> use {@link #Advance(int)} instead. 
 				/// </deprecated>
+                [Obsolete("use Advance(int) instead.")]
 				public override bool SkipTo(int target)
 				{
 					return Advance(target) != NO_MORE_DOCS;
@@ -800,6 +801,7 @@
 				
 				/// <deprecated> use {@link #DocID()} instead. 
 				/// </deprecated>
+                [Obsolete("use DocID() instead.")]
 				public override int Doc()
 				{
 					return termDocs.Doc();
@@ -856,6 +858,7 @@
 				
 				/// <deprecated> use {@link #NextDoc()} instead. 
 				/// </deprecated>
+                [Obsolete("use NextDoc() instead.")]
 				public override bool Next()
 				{
 					return NextDoc() != NO_MORE_DOCS;
@@ -863,6 +866,7 @@
 				
 				/// <deprecated> use {@link #Advance(int)} instead. 
 				/// </deprecated>
+                [Obsolete("use Advance(int) instead.")]
 				public override bool SkipTo(int target)
 				{
 					return Advance(target) != NO_MORE_DOCS;
@@ -870,6 +874,7 @@
 				
 				/// <deprecated> use {@link #DocID()} instead. 
 				/// </deprecated>
+                [Obsolete("use DocID() instead. ")]
 				public override int Doc()
 				{
 					return doc;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheTermsFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FieldCacheTermsFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheTermsFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheTermsFilter.cs Sun Dec 13 13:37:58 2009
@@ -183,6 +183,7 @@
 				
 				/// <deprecated> use {@link #DocID()} instead. 
 				/// </deprecated>
+                [Obsolete("use DocID() instead.")]
 				public override int Doc()
 				{
 					return doc;
@@ -195,6 +196,7 @@
 				
 				/// <deprecated> use {@link #NextDoc()} instead. 
 				/// </deprecated>
+                [Obsolete("use NextDoc() instead.")]
 				public override bool Next()
 				{
 					return NextDoc() != NO_MORE_DOCS;
@@ -217,6 +219,7 @@
 				
 				/// <deprecated> use {@link #Advance(int)} instead. 
 				/// </deprecated>
+                [Obsolete("use Advance(int) instead.")]
 				public override bool SkipTo(int target)
 				{
 					return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Filter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Filter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Filter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Filter.cs Sun Dec 13 13:37:58 2009
@@ -39,6 +39,7 @@
 		/// </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();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredDocIdSetIterator.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FilteredDocIdSetIterator.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredDocIdSetIterator.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredDocIdSetIterator.cs Sun Dec 13 13:37:58 2009
@@ -54,6 +54,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public override int Doc()
 		{
 			return doc;
@@ -66,6 +67,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -85,6 +87,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead. ")]
 		public override bool SkipTo(int n)
 		{
 			return Advance(n) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/FilteredQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredQuery.cs Sun Dec 13 13:37:58 2009
@@ -93,6 +93,7 @@
 				
 				/// <deprecated> use {@link #NextDoc()} instead. 
 				/// </deprecated>
+                [Obsolete("use NextDoc() instead. ")]
 				public override bool Next()
 				{
 					return NextDoc() != NO_MORE_DOCS;
@@ -106,6 +107,7 @@
 				
 				/// <deprecated> use {@link #DocID()} instead. 
 				/// </deprecated>
+                [Obsolete("use DocID() instead.")]
 				public override int Doc()
 				{
 					return scorer.Doc();
@@ -117,6 +119,7 @@
 				
 				/// <deprecated> use {@link #Advance(int)} instead. 
 				/// </deprecated>
+                [Obsolete("use Advance(int) instead.")]
 				public override bool SkipTo(int i)
 				{
 					return Advance(i) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Function/CustomScoreQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/CustomScoreQuery.cs Sun Dec 13 13:37:58 2009
@@ -490,6 +490,7 @@
 			
 			/// <deprecated> use {@link #NextDoc()} instead. 
 			/// </deprecated>
+            [Obsolete("use NextDoc() instead.")]
 			public override bool Next()
 			{
 				return NextDoc() != NO_MORE_DOCS;
@@ -510,6 +511,7 @@
 			
 			/// <deprecated> use {@link #DocID()} instead. 
 			/// </deprecated>
+            [Obsolete("use DocID() instead.")]
 			public override int Doc()
 			{
 				return subQueryScorer.Doc();
@@ -532,6 +534,7 @@
 			
 			/// <deprecated> use {@link #Advance(int)} instead. 
 			/// </deprecated>
+            [Obsolete("use Advance(int) instead.")]
 			public override bool SkipTo(int target)
 			{
 				return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/ValueSourceQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Function/ValueSourceQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/ValueSourceQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Function/ValueSourceQuery.cs Sun Dec 13 13:37:58 2009
@@ -168,6 +168,7 @@
 			
 			/// <deprecated> use {@link #NextDoc()} instead. 
 			/// </deprecated>
+            [Obsolete("use NextDoc() instead. ")]
 			public override bool Next()
 			{
 				return termDocs.Next();
@@ -180,6 +181,7 @@
 			
 			/// <deprecated> use {@link #DocID()} instead. 
 			/// </deprecated>
+            [Obsolete("use DocID() instead.")]
 			public override int Doc()
 			{
 				return termDocs.Doc();
@@ -198,6 +200,7 @@
 			
 			/// <deprecated> use {@link #Advance(int)} instead. 
 			/// </deprecated>
+            [Obsolete("use Advance(int)} instead.")]
 			public override bool SkipTo(int target)
 			{
 				return termDocs.SkipTo(target);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Hit.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Hit.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Hit.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Hit.cs Sun Dec 13 13:37:58 2009
@@ -29,6 +29,7 @@
 	/// </summary>
 	/// <deprecated> Use {@link TopScoreDocCollector} and {@link TopDocs} instead. Hits will be removed in Lucene 3.0.
 	/// </deprecated>
+    [Obsolete("Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.")]
 	[Serializable]
 	public class Hit
 	{

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitIterator.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/HitIterator.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitIterator.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitIterator.cs Sun Dec 13 13:37:58 2009
@@ -27,6 +27,7 @@
 	/// </summary>
 	/// <deprecated> Use {@link TopScoreDocCollector} and {@link TopDocs} instead. Hits will be removed in Lucene 3.0.
 	/// </deprecated>
+    [Obsolete("Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.")]
 	public class HitIterator : System.Collections.IEnumerator
 	{
 		/// <summary> Returns a {@link Hit} instance representing the next hit in {@link Hits}.

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/IndexSearcher.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/IndexSearcher.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/IndexSearcher.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/IndexSearcher.cs Sun Dec 13 13:37:58 2009
@@ -57,6 +57,7 @@
 		/// <throws>  IOException if there is a low-level IO error </throws>
 		/// <deprecated> Use {@link #IndexSearcher(Directory, boolean)} instead
 		/// </deprecated>
+        [Obsolete("Use IndexSearcher(Directory, bool) instead")]
 		public IndexSearcher(System.String path):this(IndexReader.Open(path), true)
 		{
 		}
@@ -76,6 +77,7 @@
 		/// <throws>  IOException if there is a low-level IO error </throws>
 		/// <deprecated> Use {@link #IndexSearcher(Directory, boolean)} instead
 		/// </deprecated>
+        [Obsolete("Use IndexSearcher(Directory, bool) instead")]
 		public IndexSearcher(System.String path, bool readOnly):this(IndexReader.Open(path, readOnly), true)
 		{
 		}
@@ -85,6 +87,7 @@
 		/// <throws>  IOException if there is a low-level IO error </throws>
 		/// <deprecated> Use {@link #IndexSearcher(Directory, boolean)} instead
 		/// </deprecated>
+        [Obsolete("Use IndexSearcher(Directory, bool) instead")]
 		public IndexSearcher(Directory directory):this(IndexReader.Open(directory), true)
 		{
 		}

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MatchAllDocsQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/MatchAllDocsQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MatchAllDocsQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MatchAllDocsQuery.cs Sun Dec 13 13:37:58 2009
@@ -79,6 +79,7 @@
 			
 			/// <deprecated> use {@link #DocID()} instead. 
 			/// </deprecated>
+            [Obsolete("use DocID() instead.")]
 			public override int Doc()
 			{
 				return termDocs.Doc();
@@ -91,6 +92,7 @@
 			
 			/// <deprecated> use {@link #NextDoc()} instead. 
 			/// </deprecated>
+            [Obsolete("use NextDoc() instead. ")]
 			public override bool Next()
 			{
 				return NextDoc() != NO_MORE_DOCS;
@@ -108,6 +110,7 @@
 			
 			/// <deprecated> use {@link #Advance(int)} instead. 
 			/// </deprecated>
+            [Obsolete("use Advance(int) instead.")]
 			public override bool SkipTo(int target)
 			{
 				return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiTermQueryWrapperFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/MultiTermQueryWrapperFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiTermQueryWrapperFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiTermQueryWrapperFilter.cs Sun Dec 13 13:37:58 2009
@@ -208,6 +208,7 @@
 		/// <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);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/PhraseScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseScorer.cs Sun Dec 13 13:37:58 2009
@@ -77,6 +77,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public override int Doc()
 		{
 			return first.doc;
@@ -89,6 +90,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -148,6 +150,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/QueryFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryFilter.cs Sun Dec 13 13:37:58 2009
@@ -30,6 +30,7 @@
 	/// </version>
 	/// <deprecated> use a CachingWrapperFilter with QueryWrapperFilter
 	/// </deprecated>
+    [Obsolete("use a CachingWrapperFilter with QueryWrapperFilter")]
 	[Serializable]
 	public class QueryFilter:CachingWrapperFilter
 	{

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryWrapperFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/QueryWrapperFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryWrapperFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryWrapperFilter.cs Sun Dec 13 13:37:58 2009
@@ -124,6 +124,7 @@
 		
 		/// <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);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/RangeFilter.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeFilter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeFilter.cs Sun Dec 13 13:37:58 2009
@@ -35,6 +35,7 @@
 	/// {@link NumericRangeFilter} for numeric ranges instead.
 	/// This class will be removed in Lucene 3.0.
 	/// </deprecated>
+    [Obsolete("Use TermRangeFilter for term ranges or NumericRangeFilter for numeric ranges instead. This class will be removed in Lucene 3.0")]
 	[Serializable]
 	public class RangeFilter:MultiTermQueryWrapperFilter
 	{

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/RangeQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeQuery.cs Sun Dec 13 13:37:58 2009
@@ -39,6 +39,7 @@
 	/// {@link NumericRangeQuery} for numeric ranges instead.
 	/// This class will be removed in Lucene 3.0.
 	/// </deprecated>
+    [Obsolete("Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0")]
 	[Serializable]
 	public class RangeQuery:Query
 	{

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqExclScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ReqExclScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqExclScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqExclScorer.cs Sun Dec 13 13:37:58 2009
@@ -46,6 +46,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead. ")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -113,6 +114,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public override int Doc()
 		{
 			return reqScorer.Doc(); // reqScorer may be null when next() or skipTo() already return false
@@ -135,6 +137,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqOptSumScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ReqOptSumScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqOptSumScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqOptSumScorer.cs Sun Dec 13 13:37:58 2009
@@ -46,6 +46,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return reqScorer.Next();
@@ -58,6 +59,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return reqScorer.SkipTo(target);
@@ -70,6 +72,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public override int Doc()
 		{
 			return reqScorer.Doc();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreCachingWrappingScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ScoreCachingWrappingScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreCachingWrappingScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreCachingWrappingScorer.cs Sun Dec 13 13:37:58 2009
@@ -72,6 +72,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead.")]
 		public override int Doc()
 		{
 			return scorer.Doc();
@@ -84,6 +85,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return scorer.Next();
@@ -101,6 +103,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead.")]
 		public override bool SkipTo(int target)
 		{
 			return scorer.SkipTo(target);

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreDocComparator.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/ScoreDocComparator.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreDocComparator.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreDocComparator.cs Sun Dec 13 13:37:58 2009
@@ -31,6 +31,7 @@
 	/// </version>
 	/// <deprecated> use {@link FieldComparator}
 	/// </deprecated>
+    [Obsolete("use FieldComparator")]
 	public struct ScoreDocComparator_Fields{
 		/// <summary>Special comparator for sorting hits according to computed relevance (document score). </summary>
 		public readonly static ScoreDocComparator RELEVANCE;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Scorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Scorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Scorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Scorer.cs Sun Dec 13 13:37:58 2009
@@ -65,6 +65,7 @@
 		/// </param>
 		/// <deprecated> use {@link #Score(Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Score(Collector) instead.")]
 		public virtual void  Score(HitCollector hc)
 		{
 			Score(new HitCollectorWrapper(hc));
@@ -97,6 +98,7 @@
 		/// </returns>
 		/// <deprecated> use {@link #Score(Collector, int, int)} instead.
 		/// </deprecated>
+        [Obsolete("use Score(Collector, int, int) instead")]
 		protected internal virtual bool Score(HitCollector hc, int max)
 		{
 			return Score(new HitCollectorWrapper(hc), max, DocID());

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searchable.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Searchable.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searchable.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searchable.cs Sun Dec 13 13:37:58 2009
@@ -65,6 +65,7 @@
 		/// <throws>  BooleanQuery.TooManyClauses </throws>
 		/// <deprecated> use {@link #Search(Weight, Filter, Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Search(Weight, Filter, Collector) instead.")]
 		void  Search(Weight weight, Filter filter, HitCollector results);
 		
 		/// <summary> Lower-level search API.

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searcher.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Searcher.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searcher.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searcher.cs Sun Dec 13 13:37:58 2009
@@ -119,6 +119,7 @@
 		/// <throws>  BooleanQuery.TooManyClauses </throws>
 		/// <deprecated> use {@link #Search(Query, Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Search(Query, Collector) instead.")]
 		public virtual void  Search(Query query, HitCollector results)
 		{
 			Search(CreateWeight(query), null, new HitCollectorWrapper(results));
@@ -162,6 +163,7 @@
 		/// <throws>  BooleanQuery.TooManyClauses </throws>
 		/// <deprecated> use {@link #Search(Query, Filter, Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Search(Query, Filter, Collector) instead.")]
 		public virtual void  Search(Query query, Filter filter, HitCollector results)
 		{
 			Search(CreateWeight(query), filter, new HitCollectorWrapper(results));
@@ -270,6 +272,7 @@
 		*/
 		/// <deprecated> use {@link #Search(Weight, Filter, Collector)} instead.
 		/// </deprecated>
+        [Obsolete("use Search(Weight, Filter, Collector) instead.")]
 		public virtual void  Search(Weight weight, Filter filter, HitCollector results)
 		{
 			Search(weight, filter, new HitCollectorWrapper(results));

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortField.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/SortField.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortField.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortField.cs Sun Dec 13 13:37:58 2009
@@ -278,6 +278,7 @@
 		/// </param>
 		/// <deprecated> use SortField (String field, FieldComparatorSource comparator)
 		/// </deprecated>
+        [Obsolete("use SortField (String field, FieldComparatorSource comparator)")]
 		public SortField(System.String field, SortComparatorSource comparator)
 		{
 			InitFieldType(field, CUSTOM);
@@ -305,6 +306,7 @@
 		/// </param>
 		/// <deprecated> use SortField (String field, FieldComparatorSource comparator, boolean reverse)
 		/// </deprecated>
+        [Obsolete("use SortField(String field, FieldComparatorSource comparator, boolean reverse)")]
 		public SortField(System.String field, SortComparatorSource comparator, bool reverse)
 		{
 			InitFieldType(field, CUSTOM);
@@ -391,6 +393,7 @@
 		
 		/// <deprecated> use {@link #GetComparatorSource()}
 		/// </deprecated>
+        [Obsolete("use GetComparatorSource()")]
 		public virtual SortComparatorSource GetFactory()
 		{
 			return factory;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SpanFilterResult.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/SpanFilterResult.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SpanFilterResult.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SpanFilterResult.cs Sun Dec 13 13:37:58 2009
@@ -44,6 +44,7 @@
 		/// </param>
 		/// <deprecated> Use {@link #SpanFilterResult(DocIdSet, List)} instead
 		/// </deprecated>
+        [Obsolete("Use SpanFilterResult(DocIdSet, List) instead")]
 		public SpanFilterResult(System.Collections.BitArray bits, System.Collections.IList positions)
 		{
 			this.bits = bits;
@@ -73,6 +74,7 @@
 		
 		/// <deprecated> Use {@link #GetDocIdSet()}
 		/// </deprecated>
+        [Obsolete("Use GetDocIdSet()")]
 		public virtual System.Collections.BitArray GetBits()
 		{
 			return bits;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/FieldMaskingSpanQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/FieldMaskingSpanQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/FieldMaskingSpanQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/FieldMaskingSpanQuery.cs Sun Dec 13 13:37:58 2009
@@ -100,6 +100,7 @@
 		
 		/// <deprecated> use {@link #ExtractTerms(Set)} instead. 
 		/// </deprecated>
+        [Obsolete("use ExtractTerms(Hashtable) instead.")]
 		public override System.Collections.ICollection GetTerms()
 		{
 			return maskedQuery.GetTerms();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanFirstQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanFirstQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanFirstQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanFirstQuery.cs Sun Dec 13 13:37:58 2009
@@ -140,6 +140,7 @@
 		/// </deprecated>
 		/// <seealso cref="ExtractTerms(Set)">
 		/// </seealso>
+        [Obsolete("use ExtractTerms instead")]
 		public override System.Collections.ICollection GetTerms()
 		{
 			return match.GetTerms();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNearQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanNearQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNearQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNearQuery.cs Sun Dec 13 13:37:58 2009
@@ -99,6 +99,7 @@
 		/// </deprecated>
 		/// <seealso cref="ExtractTerms(Set)">
 		/// </seealso>
+        [Obsolete("use ExtractTerms instead")]
 		public override System.Collections.ICollection GetTerms()
 		{
 			System.Collections.ArrayList terms = new System.Collections.ArrayList();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNotQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanNotQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNotQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNotQuery.cs Sun Dec 13 13:37:58 2009
@@ -179,6 +179,7 @@
 		/// </deprecated>
 		/// <seealso cref="ExtractTerms(Set)">
 		/// </seealso>
+        [Obsolete("use ExtractTerms instead")]
 		public override System.Collections.ICollection GetTerms()
 		{
 			return include.GetTerms();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanOrQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanOrQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanOrQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanOrQuery.cs Sun Dec 13 13:37:58 2009
@@ -202,6 +202,7 @@
 		/// </deprecated>
 		/// <seealso cref="ExtractTerms(Set)">
 		/// </seealso>
+        [Obsolete("use ExtractTerms instead")]
 		public override System.Collections.ICollection GetTerms()
 		{
 			System.Collections.ArrayList terms = new System.Collections.ArrayList();

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanQuery.cs Sun Dec 13 13:37:58 2009
@@ -42,6 +42,7 @@
 		/// </deprecated>
 		/// <seealso cref="Query.ExtractTerms(Set)">
 		/// </seealso>
+        [Obsolete("use ExtractTerms instead")]
 		public abstract System.Collections.ICollection GetTerms();
 		
 		public override Weight CreateWeight(Searcher searcher)

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanScorer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanScorer.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanScorer.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanScorer.cs Sun Dec 13 13:37:58 2009
@@ -60,6 +60,7 @@
 		
 		/// <deprecated> use {@link #NextDoc()} instead. 
 		/// </deprecated>
+        [Obsolete("use NextDoc() instead.")]
 		public override bool Next()
 		{
 			return NextDoc() != NO_MORE_DOCS;
@@ -76,6 +77,7 @@
 		
 		/// <deprecated> use {@link #Advance(int)} instead. 
 		/// </deprecated>
+        [Obsolete("use Advance(int) instead. ")]
 		public override bool SkipTo(int target)
 		{
 			return Advance(target) != NO_MORE_DOCS;
@@ -119,6 +121,7 @@
 		
 		/// <deprecated> use {@link #DocID()} instead. 
 		/// </deprecated>
+        [Obsolete("use DocID() instead. ")]
 		public override int Doc()
 		{
 			return doc;

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanTermQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Search/Spans/SpanTermQuery.cs?rev=890060&r1=890059&r2=890060&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanTermQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanTermQuery.cs Sun Dec 13 13:37:58 2009
@@ -52,6 +52,7 @@
 		/// </deprecated>
 		/// <seealso cref="ExtractTerms(Set)">
 		/// </seealso>
+        [Obsolete("use extractTerms instead")]
 		public override System.Collections.ICollection GetTerms()
 		{
 			System.Collections.ArrayList terms = new System.Collections.ArrayList();



Mime
View raw message