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, FieldCache.IParser).

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

    Methods

    | Improve this Doc View Source

    TermsEnum(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 TermsEnum(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.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)