Lucene.Net.Util.LuceneTestCase.GetDVFields C# (CSharp) Method

GetDVFields() private static method

private static GetDVFields ( IndexReader reader ) : ISet
reader Lucene.Net.Index.IndexReader
return ISet
        private static ISet<string> GetDVFields(IndexReader reader)
        {
            HashSet<string> fields = new HashSet<string>();
            foreach (FieldInfo fi in MultiFields.GetMergedFieldInfos(reader))
            {
                if (fi.HasDocValues())
                {
                    fields.Add(fi.Name);
                }
            }

            return fields;
        }