Exemplo n.º 1
0
        public override System.Collections.Generic.ICollection <string> GetFieldNames(IndexReader.FieldOption fieldNames)
        {
            EnsureOpen();
            ISet <string> fieldSet = Lucene.Net.Support.Compatibility.SetFactory.CreateHashSet <string>();

            foreach (var reader in readers)
            {
                ICollection <string> names = reader.GetFieldNames(fieldNames);
                fieldSet.UnionWith(names);
            }
            return(fieldSet);
        }
Exemplo n.º 2
0
 public override System.Collections.Generic.ICollection <string> GetFieldNames(IndexReader.FieldOption fieldNames)
 {
     EnsureOpen();
     return(DirectoryReader.GetFieldNames(fieldNames, this.subReaders));
 }
Exemplo n.º 3
0
 public override System.Collections.Generic.ICollection <string> GetFieldNames(IndexReader.FieldOption fieldNames)
 {
     EnsureOpen();
     return(in_Renamed.GetFieldNames(fieldNames));
 }
Exemplo n.º 4
0
 public override System.Collections.Generic.ICollection <string> GetFieldNames(IndexReader.FieldOption fieldNames)
 {
     EnsureOpen();
     System.Collections.Generic.List <string> fieldSet = new System.Collections.Generic.List <string>();
     for (int i = 0; i < readers.Count; i++)
     {
         IndexReader reader = ((IndexReader)readers[i]);
         System.Collections.Generic.ICollection <string> names = reader.GetFieldNames(fieldNames);
         fieldSet.AddRange(names);
     }
     return(fieldSet);
 }