Method GetFields
GetFields()
Returns a List of all the fields in a document.
Note that fields which are not IsStored are not available in documents retrieved from the index, e.g. Doc(Int32) or Document(Int32).
Declaration
public Collections.Generic.IList<IFieldable> GetFields()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<IFieldable> |
GetFields(String)
Returns an array of Fields with the given name. Do not use with lazy loaded fields. This method returns an empty array when there are no matching fields. It never returns null.
Declaration
public Field[] GetFields(String name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the field |
Returns
Type | Description |
---|---|
Field[] | a |