Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
MultiFields.getIndexedFields calls getMergedFieldInfos. But getMergedFieldInfos is kinda heavy, doing all sorts of stuff that getIndexedFields doesn't care about. It can simply loop the leaf readers and collect the results into a Set. Java 8 streams should make easy work of this.