Method GetFields
GetFields(IndexReader)
Returns a single Fields instance for this
reader, merging fields/terms/docs/positions on the
fly. This method will return null
if the reader
has no postings.
NOTE: this is a slow way to access postings. It's better to get the sub-readers and iterate through them yourself.
Declaration
public static Fields GetFields(IndexReader reader)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader |
Returns
Type | Description |
---|---|
Fields |