Show / Hide Table of Contents

    Class BooleanClause

    A clause in a BooleanQuery.

    Inheritance
    System.Object
    BooleanClause
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public class BooleanClause : IEquatable<BooleanClause>

    Constructors

    | Improve this Doc View Source

    BooleanClause(Query, Occur)

    Constructs a BooleanClause.

    Declaration
    public BooleanClause(Query query, Occur occur)
    Parameters
    Type Name Description
    Query query
    Occur occur

    Properties

    | Improve this Doc View Source

    IsProhibited

    Declaration
    public virtual bool IsProhibited { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsRequired

    Declaration
    public virtual bool IsRequired { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Occur

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

    Query

    Declaration
    public virtual Query Query { get; set; }
    Property Value
    Type Description
    Query

    Methods

    | Improve this Doc View Source

    Equals(BooleanClause)

    Declaration
    public bool Equals(BooleanClause other)
    Parameters
    Type Name Description
    BooleanClause other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Returns true if o is equal to this.

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

    GetHashCode()

    Returns a hash code value for this object.

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ToString(Occur)

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