Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsSortedSet C# (CSharp) 메소드

DefaultCodecSupportsSortedSet() 공개 정적인 메소드

Returns true if the default codec supports SORTED_SET docvalues
public static DefaultCodecSupportsSortedSet ( ) : bool
리턴 bool
        public static bool DefaultCodecSupportsSortedSet()
        {
            if (!DefaultCodecSupportsDocValues())
            {
                return false;
            }
            string name = Codec.Default.Name;
            if (name.Equals("Lucene40") || name.Equals("Lucene41") || name.Equals("Appending"))
            {
                return false;
            }
            return true;
        }