Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AssertingFields

    Wraps a Lucene.Net.Index.Fields but with additional asserts

    Inheritance
    object
    Fields
    FilterAtomicReader.FilterFields
    AssertingFields
    Implements
    IEnumerable<string>
    IEnumerable
    Inherited Members
    FilterAtomicReader.FilterFields.m_input
    FilterAtomicReader.FilterFields.Count
    Fields.UniqueTermCount
    Fields.EMPTY_ARRAY
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class AssertingFields : FilterAtomicReader.FilterFields, IEnumerable<string>, IEnumerable

    Constructors

    AssertingFields(Fields)

    Wraps a Lucene.Net.Index.Fields but with additional asserts

    Declaration
    public AssertingFields(Fields input)
    Parameters
    Type Name Description
    Fields input

    Methods

    GetEnumerator()

    Returns an enumerator that will step through all field names. This will not return null.

    Declaration
    public override IEnumerator<string> GetEnumerator()
    Returns
    Type Description
    IEnumerator<string>
    Overrides
    Lucene.Net.Index.FilterAtomicReader.FilterFields.GetEnumerator()

    GetTerms(string)

    Get the Lucene.Net.Index.Terms for this field. This will return null if the field does not exist.

    Declaration
    public override Terms GetTerms(string field)
    Parameters
    Type Name Description
    string field
    Returns
    Type Description
    Terms
    Overrides
    FilterAtomicReader.FilterFields.GetTerms(string)

    Implements

    IEnumerable<T>
    IEnumerable
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.