Class AssertingFields
Wraps a Lucene.Net.Index.Fields but with additional asserts
Inherited Members
FilterAtomicReader.FilterFields.m_input
FilterAtomicReader.FilterFields.Count
Fields.UniqueTermCount
Fields.EMPTY_ARRAY
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingFields : FilterAtomicReader.FilterFields, IEnumerable<string>, IEnumerable
Constructors
AssertingFields(Fields)
Wraps a Lucene.Net.Index.Fields but with additional asserts
Declaration
public AssertingFields(Fields input)
Parameters
Type | Name | Description |
---|---|---|
Fields | input |
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
Lucene.Net.Index.FilterAtomicReader.FilterFields.GetEnumerator()
GetTerms(string)
Get the Lucene.Net.Index.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 |