public abstract class DocIDMerger<T extends DocIDMerger.Sub> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DocIDMerger.Sub
Represents one sub-reader being merged
|
Modifier and Type | Method and Description |
---|---|
abstract T |
next()
Returns null when done.
|
static <T extends DocIDMerger.Sub> |
of(List<T> subs,
boolean indexIsSorted)
Construct this from the provided subs
|
static <T extends DocIDMerger.Sub> |
of(List<T> subs,
int maxCount,
boolean indexIsSorted)
Construct this from the provided subs, specifying the maximum sub count
|
abstract void |
reset()
Reuse API, currently only used by postings during merge
|
public static <T extends DocIDMerger.Sub> DocIDMerger<T> of(List<T> subs, int maxCount, boolean indexIsSorted) throws IOException
IOException
public static <T extends DocIDMerger.Sub> DocIDMerger<T> of(List<T> subs, boolean indexIsSorted) throws IOException
IOException
public abstract void reset() throws IOException
IOException
public abstract T next() throws IOException
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.