mapOldOrdToNewOrd
fun mapOldOrdToNewOrd(oldDocIds: DocsWithFieldSet, sortMap: Sorter.DocMap, old2NewOrd: IntArray?, new2OldOrd: IntArray?, newDocsWithField: DocsWithFieldSet?)
Given old doc ids and an id mapping, maps old ordinal to new ordinal. Note: this method return nothing and output are written to parameters
Parameters
oldDocIds
the old or current document ordinals. Must not be null.
sortMap
the document sorting map for how to make the new ordinals. Must not be null.
old2NewOrd
int[] maps from old ord to new ord
new2OldOrd
int[] maps from new ord to old ord
newDocsWithField
set of new doc ids which has the value