Show / Hide Table of Contents

    Class AssertingQuery

    Assertion-enabled query.

    Inheritance
    System.Object
    AssertingQuery
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class AssertingQuery : Query

    Constructors

    | Improve this Doc View Source

    AssertingQuery(Random, Query)

    Sole constructor.

    Declaration
    public AssertingQuery(Random random, Query in)
    Parameters
    Type Name Description
    Random random
    Query in

    Properties

    | Improve this Doc View Source

    Boost

    Declaration
    public override float Boost { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    CreateWeight(IndexSearcher)

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

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    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
    | Improve this Doc View Source

    Rewrite(IndexReader)

    Declaration
    public override Query Rewrite(IndexReader reader)
    Parameters
    Type Name Description
    IndexReader reader
    Returns
    Type Description
    Query
    | 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

    Wrap(Random, Query)

    Wrap a query if necessary.

    Declaration
    public static Query Wrap(Random random, Query query)
    Parameters
    Type Name Description
    Random random
    Query query
    Returns
    Type Description
    Query
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)