Show / Hide Table of Contents

    Class SortRescorer

    A Rescorer that re-sorts according to a provided Sort.

    Inheritance
    System.Object
    Rescorer
    SortRescorer
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public class SortRescorer : Rescorer

    Constructors

    | Improve this Doc View Source

    SortRescorer(Sort)

    Sole constructor.

    Declaration
    public SortRescorer(Sort sort)
    Parameters
    Type Name Description
    Sort sort

    Methods

    | Improve this Doc View Source

    Explain(IndexSearcher, Explanation, Int32)

    Declaration
    public override Explanation Explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID)
    Parameters
    Type Name Description
    IndexSearcher searcher
    Explanation firstPassExplanation
    System.Int32 docID
    Returns
    Type Description
    Explanation
    Overrides
    Rescorer.Explain(IndexSearcher, Explanation, Int32)
    | Improve this Doc View Source

    Rescore(IndexSearcher, TopDocs, Int32)

    Declaration
    public override TopDocs Rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN)
    Parameters
    Type Name Description
    IndexSearcher searcher
    TopDocs firstPassTopDocs
    System.Int32 topN
    Returns
    Type Description
    TopDocs
    Overrides
    Rescorer.Rescore(IndexSearcher, TopDocs, Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)