public static final class SortedBytesMergeUtils.MergeContext extends Object
Modifier and Type | Field and Description |
---|---|
int[] |
docToEntry
Maps each document to the ordinal for its value.
|
long[] |
offsets
File-offset for each document; will be null if it's
not needed (eg fixed-size values).
|
int |
sizePerValues
How many bytes each value occupies, or -1 if it
varies.
|
Constructor and Description |
---|
SortedBytesMergeUtils.MergeContext(Comparator<BytesRef> comp,
int mergeDocCount,
int size,
DocValues.Type type)
Sole constructor.
|
public final int sizePerValues
public final int[] docToEntry
public long[] offsets
public SortedBytesMergeUtils.MergeContext(Comparator<BytesRef> comp, int mergeDocCount, int size, DocValues.Type type)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.