Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BooleanClause

    A clause in a BooleanQuery.

    Inheritance
    System.Object
    BooleanClause
    Implements
    System.IEquatable<BooleanClause>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    [Serializable]
    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
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Returns a hash code value for this object.

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    | 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

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.