Show / Hide Table of Contents

    Class FieldComparerSource

    Provides a FieldComparer for custom field sorting.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    FieldComparerSource
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class FieldComparerSource : object

    Methods

    | Improve this Doc View Source

    NewComparer(String, Int32, Int32, Boolean)

    Creates a comparer for the field in the given index.

    Declaration
    public abstract FieldComparer NewComparer(string fieldname, int numHits, int sortPos, bool reversed)
    Parameters
    Type Name Description
    System.String fieldname

    Name of the field to create comparer for.

    System.Int32 numHits
    System.Int32 sortPos
    System.Boolean reversed
    Returns
    Type Description
    FieldComparer

    FieldComparer.

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