Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / tools / monkeydoc / Lucene.Net / Lucene.Net / Search / ExtendedFieldCache.cs
1 /* 
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements.  See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License.  You may obtain a copy of the License at
8  * 
9  * http://www.apache.org/licenses/LICENSE-2.0
10  * 
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 using System;
19
20 using IndexReader = Mono.Lucene.Net.Index.IndexReader;
21
22 namespace Mono.Lucene.Net.Search.ExtendedFieldCache_old
23 {
24         
25         /// <summary> This interface is obsolete, use {@link FieldCache} instead.
26         /// 
27         /// </summary>
28         /// <deprecated> Use {@link FieldCache}, this will be removed in Lucene 3.0
29         /// 
30         /// </deprecated>
31     [Obsolete("Use FieldCache, this will be removed in Lucene 3.0")]
32         public struct ExtendedFieldCache_Fields{
33                 /// <deprecated> Use {@link FieldCache#DEFAULT}; this will be removed in Lucene 3.0 
34                 /// </deprecated>
35         [Obsolete("Use FieldCache.DEFAULT; this will be removed in Lucene 3.0 ")]
36                 public readonly static ExtendedFieldCache EXT_DEFAULT;
37                 static ExtendedFieldCache_Fields()
38                 {
39                         EXT_DEFAULT = (ExtendedFieldCache) Mono.Lucene.Net.Search.FieldCache_Fields.DEFAULT;
40                 }
41         }
42         public interface ExtendedFieldCache:FieldCache
43         {
44                 
45                 /// <deprecated> Will be removed in 3.0, this is for binary compatibility only 
46                 /// </deprecated>
47         [Obsolete("Will be removed in 3.0, this is for binary compatibility only ")]
48                 new long[] GetLongs(IndexReader reader, System.String field, Mono.Lucene.Net.Search.LongParser parser);
49                 
50                 /// <deprecated> Will be removed in 3.0, this is for binary compatibility only 
51                 /// </deprecated>
52         [Obsolete("Will be removed in 3.0, this is for binary compatibility only ")]
53                 new double[] GetDoubles(IndexReader reader, System.String field, Mono.Lucene.Net.Search.DoubleParser parser);
54         }
55
56         /// <deprecated> Use {@link FieldCache.LongParser}, this will be removed in Lucene 3.0 
57         /// </deprecated>
58     [Obsolete("Use FieldCache.LongParser, this will be removed in Lucene 3.0 ")]
59         public interface LongParser:Mono.Lucene.Net.Search.LongParser
60         {
61         }
62
63         /// <deprecated> Use {@link FieldCache.DoubleParser}, this will be removed in Lucene 3.0 
64         /// </deprecated>
65     [Obsolete("Use FieldCache.DoubleParser, this will be removed in Lucene 3.0 ")]
66         public interface DoubleParser:Mono.Lucene.Net.Search.DoubleParser
67         {
68         }
69 }