//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public util.Bits getDocsWithField(index.FieldInfo field) throws java.io.IOException
        public override Bits getDocsWithField(FieldInfo field)
        {
            switch (field.DocValuesType)
            {
            case SORTED_SET:
                return(DocValues.docsWithValue(getSortedSet(field), maxDoc));

            case SORTED:
                return(DocValues.docsWithValue(getSorted(field), maxDoc));

            case BINARY:
                return(getBinaryDocsWithField(field));

            case NUMERIC:
                return(getNumericDocsWithField(field));

            default:
                throw new AssertionError();
            }
        }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public util.Bits getDocsWithField(index.FieldInfo field) throws java.io.IOException
        public override Bits getDocsWithField(FieldInfo field)
        {
            switch (field.DocValuesType)
            {
            case SORTED_SET:
                return(DocValues.docsWithValue(getSortedSet(field), maxDoc));

            case SORTED:
                return(DocValues.docsWithValue(getSorted(field), maxDoc));

            case BINARY:
                BinaryEntry be = binaries[field.number];
                return(getMissingBits(field.number, be.missingOffset, be.missingBytes));

            case NUMERIC:
                NumericEntry ne = numerics[field.number];
                return(getMissingBits(field.number, ne.missingOffset, ne.missingBytes));

            default:
                throw new AssertionError();
            }
        }