Esempio n. 1
0
            public override IBits GetDocsWithField(FieldInfo field)
            {
                Debug.Assert(field.DocValuesType != DocValuesType.NONE);
                IBits bits = @in.GetDocsWithField(field);

                Debug.Assert(bits != null);
                Debug.Assert(bits.Length == maxDoc);
                return(new AssertingBits(bits));
            }
            public override Bits GetDocsWithField(FieldInfo field)
            {
                Debug.Assert(field.DocValuesType != null);
                Bits bits = @in.GetDocsWithField(field);

                Debug.Assert(bits != null);
                Debug.Assert(bits.Length() == MaxDoc);
                return(new AssertingAtomicReader.AssertingBits(bits));
            }