public interface CloseableHits
close()
to release resources after a
query has been executed and the results have been read.void close() throws IOException
IOException
- if an error occurs while releasing resources.int getSize()
-1
if the size is unknown.void skip(int n) throws IOException
n
score nodes.n
- the number of score nodes to skip.IOException
- if an error occurs while skipping.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.