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