Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface FieldCache.IParser

    Marker interface as super-interface to all parsers. It is used to specify a custom parser to SortField(string, IParser).

    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public interface FieldCache.IParser

    Methods

    GetTermsEnum(Terms)

    Pulls a TermsEnum from the given Terms. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.

    Declaration
    TermsEnum GetTermsEnum(Terms terms)
    Parameters
    Type Name Description
    Terms terms

    The Terms instance to create the TermsEnum from.

    Returns
    Type Description
    TermsEnum

    A possibly filtered TermsEnum instance, this method must not return null.

    Exceptions
    Type Condition
    IOException

    If an IOException occurs

    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.