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
public class BooleanClause : IEquatable<BooleanClause>
Constructors
| Improve this Doc View SourceBooleanClause(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 SourceIsProhibited
Declaration
public virtual bool IsProhibited { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRequired
Declaration
public virtual bool IsRequired { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Occur
Declaration
public virtual Occur Occur { get; set; }
Property Value
Type | Description |
---|---|
Occur |
Query
Declaration
public virtual Query Query { get; set; }
Property Value
Type | Description |
---|---|
Query |
Methods
| Improve this Doc View SourceEquals(BooleanClause)
Declaration
public bool Equals(BooleanClause other)
Parameters
Type | Name | Description |
---|---|---|
BooleanClause | other |
Returns
Type | Description |
---|---|
System.Boolean |
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>