Class TermFilter
A filter that includes documents that match with a specific term.
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 TermFilter : Filter
Constructors
| Improve this Doc View SourceTermFilter(Term)
Declaration
public TermFilter(Term term)
Parameters
Type | Name | Description |
---|---|---|
Term | term | The term documents need to have in order to be a match for this filter. |
Properties
| Improve this Doc View SourceTerm
Gets the term this filter includes documents with.
Declaration
public Term Term { get; }
Property Value
Type | Description |
---|---|
Term |
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
GetDocIdSet(AtomicReaderContext, IBits)
Declaration
public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
Parameters
Type | Name | Description |
---|---|---|
AtomicReaderContext | context | |
IBits | acceptDocs |
Returns
Type | Description |
---|---|
DocIdSet |
Overrides
| Improve this Doc View SourceGetHashCode()
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()