int getParents(int n, int docNumbers) throws IOException
nor an empty array if
ndoes not have a parent (
nis the root node).
n- the document number.
docNumbers- an array for reuse. An implementation should use the passed array as a container for the return value, unless the length of the returned array is different from
docNumbers. In which case an implementation will create a new array with an appropriate size.
IOException- if an error occurs while reading from the index.
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.