コード例 #1
0
 public override System.Collections.ICollection GetIndexedFieldNames(Field.TermVector tvSpec)
 {
     System.Collections.Hashtable fieldSet = new System.Collections.Hashtable();
     for (int i = 0; i < readers.Count; i++)
     {
         IndexReader reader = ((IndexReader)readers[i]);
         System.Collections.ICollection names = reader.GetIndexedFieldNames(tvSpec);
         for (System.Collections.IEnumerator iterator = names.GetEnumerator(); iterator.MoveNext();)
         {
             System.Collections.DictionaryEntry fi = (System.Collections.DictionaryEntry)iterator.Current;
             System.String s = fi.Key.ToString();
             if (fieldSet.ContainsKey(s) == false)
             {
                 fieldSet.Add(s, s);
             }
         }
     }
     return(fieldSet);
 }
コード例 #2
0
 public override System.Collections.ICollection GetIndexedFieldNames(Field.TermVector tvSpec)
 {
     return(in_Renamed.GetIndexedFieldNames(tvSpec));
 }