Class FilterAtomicReader.FilterFields
Base class for filtering Fields implementations.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public class FilterAtomicReader.FilterFields : Fields, IEnumerable<string>, IEnumerable
Constructors
FilterFields(Fields)
Creates a new FilterAtomicReader.FilterFields.
Declaration
public FilterFields(Fields input)
Parameters
Type | Name | Description |
---|---|---|
Fields | input | the underlying Fields instance. |
Fields
m_input
The underlying Fields instance.
Declaration
protected readonly Fields m_input
Field Value
Type | Description |
---|---|
Fields |
Properties
Count
Gets the number of fields or -1 if the number of distinct field names is unknown. If >= 0, GetEnumerator() will return as many field names.
NOTE: This was size() in Lucene.Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
GetEnumerator()
Returns an enumerator that will step through all field
names. This will not return null
.
Declaration
public override IEnumerator<string> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<string> |
Overrides
GetTerms(string)
Get the Terms for this field. This will return
null
if the field does not exist.
Declaration
public override Terms GetTerms(string field)
Parameters
Type | Name | Description |
---|---|---|
string | field |
Returns
Type | Description |
---|---|
Terms |