Show / Hide Table of Contents

    Class BoostedQuery

    Query that is boosted by a ValueSource

    Inheritance
    System.Object
    Query
    BoostedQuery
    Inherited Members
    Query.Boost
    Query.ToString()
    Lucene.Net.Search.Query.ExtractTerms(ISet<>)
    Query.Clone()
    Namespace: Lucene.Net.Queries.Function
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class BoostedQuery : Query

    Constructors

    | Improve this Doc View Source

    BoostedQuery(Query, ValueSource)

    Declaration
    public BoostedQuery(Query subQuery, ValueSource boostVal)
    Parameters
    Type Name Description
    Query subQuery
    ValueSource boostVal

    Properties

    | Improve this Doc View Source

    Query

    Declaration
    public virtual Query Query { get; }
    Property Value
    Type Description
    Query
    | Improve this Doc View Source

    ValueSource

    Declaration
    public virtual ValueSource ValueSource { get; }
    Property Value
    Type Description
    ValueSource

    Methods

    | Improve this Doc View Source

    CreateWeight(IndexSearcher)

    Declaration
    public override Weight CreateWeight(IndexSearcher searcher)
    Parameters
    Type Name Description
    IndexSearcher searcher
    Returns
    Type Description
    Weight
    Overrides
    Query.CreateWeight(IndexSearcher)
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ExtractTerms(ISet<Term>)

    Declaration
    public override void ExtractTerms(ISet<Term> terms)
    Parameters
    Type Name Description
    ISet<Term> terms
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    Query.GetHashCode()
    | Improve this Doc View Source

    Rewrite(IndexReader)

    Declaration
    public override Query Rewrite(IndexReader reader)
    Parameters
    Type Name Description
    IndexReader reader
    Returns
    Type Description
    Query
    Overrides
    Query.Rewrite(IndexReader)
    | Improve this Doc View Source

    ToString(String)

    Declaration
    public override string ToString(string field)
    Parameters
    Type Name Description
    System.String field
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)