Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FilterAtomicReader.FilterFields

    Base class for filtering Fields implementations.

    Inheritance
    object
    Fields
    FilterAtomicReader.FilterFields
    Implements
    IEnumerable<string>
    IEnumerable
    Inherited Members
    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.dll
    Syntax
    public class FilterAtomicReader.FilterFields : Fields, IEnumerable<string>, IEnumerable

    Constructors

    FilterFields(Fields)

    Creates a new FilterAtomicReader.FilterFields.

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

    the underlying Fields instance.

    Fields

    m_input

    The underlying Fields instance.

    Declaration
    protected readonly Fields m_input
    Field Value
    Type Description
    Fields

    Properties

    Count

    Gets the number of fields or -1 if the number of distinct field names is unknown. If >= 0, GetEnumerator() will return as many field names.

    NOTE: This was size() in Lucene.
    Declaration
    public override int Count { get; }
    Property Value
    Type Description
    int
    Overrides
    Fields.Count

    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
    Fields.GetEnumerator()

    GetTerms(string)

    Get the 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
    Fields.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.