Class FilterClause
A Filter that wrapped with an indication of how that filter is used when composed with another filter. (Follows the boolean logic in BooleanClause for composition of queries.)
Inheritance
System.Object
FilterClause
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.Queries
Assembly: Lucene.Net.Queries.dll
Syntax
public sealed class FilterClause
Constructors
| Improve this Doc View SourceFilterClause(Filter, Occur)
Create a new FilterClause
Declaration
public FilterClause(Filter filter, Occur occur)
Parameters
Type | Name | Description |
---|---|---|
Filter | filter | A Filter object containing a BitSet |
Occur | occur | A parameter implementation indicating SHOULD, MUST or MUST NOT |
Properties
| Improve this Doc View SourceFilter
Returns this FilterClause's filter
Declaration
public Filter Filter { get; }
Property Value
Type | Description |
---|---|
Filter | A Filter object |
Occur
Returns this FilterClause's occur parameter
Declaration
public Occur Occur { get; }
Property Value
Type | Description |
---|---|
Occur | An Occur object |
Methods
| Improve this Doc View SourceEquals(Object)
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()
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()