Method GetMergedFieldInfos
GetMergedFieldInfos(IndexReader)
Call this to get the (merged) FieldInfos for a composite reader.
NOTE: the returned field numbers will likely not correspond to the actual field numbers in the underlying readers, and codec metadata (GetAttribute(String)) will be unavailable.
Declaration
public static FieldInfos GetMergedFieldInfos(IndexReader reader)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader |
Returns
Type | Description |
---|---|
FieldInfos |