public class org.apache.lucene.index.MergeState
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.index.MergeState
super_class: java.lang.Object
{
public final org.apache.lucene.index.MergeState$DocMap[] docMaps;
descriptor: [Lorg/apache/lucene/index/MergeState$DocMap;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
final org.apache.lucene.index.MergeState$DocMap[] leafDocMaps;
descriptor: [Lorg/apache/lucene/index/MergeState$DocMap;
flags: (0x0010) ACC_FINAL
public final org.apache.lucene.index.SegmentInfo segmentInfo;
descriptor: Lorg/apache/lucene/index/SegmentInfo;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public org.apache.lucene.index.FieldInfos mergeFieldInfos;
descriptor: Lorg/apache/lucene/index/FieldInfos;
flags: (0x0001) ACC_PUBLIC
public final org.apache.lucene.codecs.StoredFieldsReader[] storedFieldsReaders;
descriptor: [Lorg/apache/lucene/codecs/StoredFieldsReader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.codecs.TermVectorsReader[] termVectorsReaders;
descriptor: [Lorg/apache/lucene/codecs/TermVectorsReader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.codecs.NormsProducer[] normsProducers;
descriptor: [Lorg/apache/lucene/codecs/NormsProducer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.codecs.DocValuesProducer[] docValuesProducers;
descriptor: [Lorg/apache/lucene/codecs/DocValuesProducer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.index.FieldInfos[] fieldInfos;
descriptor: [Lorg/apache/lucene/index/FieldInfos;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.util.Bits[] liveDocs;
descriptor: [Lorg/apache/lucene/util/Bits;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.codecs.FieldsProducer[] fieldsProducers;
descriptor: [Lorg/apache/lucene/codecs/FieldsProducer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.codecs.PointsReader[] pointsReaders;
descriptor: [Lorg/apache/lucene/codecs/PointsReader;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int[] maxDocs;
descriptor: [I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.lucene.util.InfoStream infoStream;
descriptor: Lorg/apache/lucene/util/InfoStream;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public boolean needsIndexSort;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
void <init>(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.index.SegmentInfo, org.apache.lucene.util.InfoStream);
descriptor: (Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;)V
flags: (0x0000)
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
2: aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
astore 4
start local 4 3: aload 1
invokeinterface java.util.List.size:()I
istore 5
start local 5 4: aload 0
iload 5
anewarray org.apache.lucene.index.MergeState$DocMap
putfield org.apache.lucene.index.MergeState.leafDocMaps:[Lorg/apache/lucene/index/MergeState$DocMap;
5: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.MergeState.maybeSortReaders:(Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;)Ljava/util/List;
astore 6
start local 6 6: aload 0
iload 5
newarray 10
putfield org.apache.lucene.index.MergeState.maxDocs:[I
7: aload 0
iload 5
anewarray org.apache.lucene.codecs.FieldsProducer
putfield org.apache.lucene.index.MergeState.fieldsProducers:[Lorg/apache/lucene/codecs/FieldsProducer;
8: aload 0
iload 5
anewarray org.apache.lucene.codecs.NormsProducer
putfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
9: aload 0
iload 5
anewarray org.apache.lucene.codecs.StoredFieldsReader
putfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
10: aload 0
iload 5
anewarray org.apache.lucene.codecs.TermVectorsReader
putfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
11: aload 0
iload 5
anewarray org.apache.lucene.codecs.DocValuesProducer
putfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
12: aload 0
iload 5
anewarray org.apache.lucene.codecs.PointsReader
putfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
13: aload 0
iload 5
anewarray org.apache.lucene.index.FieldInfos
putfield org.apache.lucene.index.MergeState.fieldInfos:[Lorg/apache/lucene/index/FieldInfos;
14: aload 0
iload 5
anewarray org.apache.lucene.util.Bits
putfield org.apache.lucene.index.MergeState.liveDocs:[Lorg/apache/lucene/util/Bits;
15: iconst_0
istore 7
start local 7 16: iconst_0
istore 8
start local 8 17: goto 40
18: StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.search.Sort int java.util.List int int
StackMap stack:
aload 6
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.CodecReader
astore 9
start local 9 19: aload 0
getfield org.apache.lucene.index.MergeState.maxDocs:[I
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.maxDoc:()I
iastore
20: aload 0
getfield org.apache.lucene.index.MergeState.liveDocs:[Lorg/apache/lucene/util/Bits;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
aastore
21: aload 0
getfield org.apache.lucene.index.MergeState.fieldInfos:[Lorg/apache/lucene/index/FieldInfos;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getFieldInfos:()Lorg/apache/lucene/index/FieldInfos;
aastore
22: aload 0
getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getNormsReader:()Lorg/apache/lucene/codecs/NormsProducer;
aastore
23: aload 0
getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
iload 8
aaload
ifnull 25
24: aload 0
getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
iload 8
aload 0
getfield org.apache.lucene.index.MergeState.normsProducers:[Lorg/apache/lucene/codecs/NormsProducer;
iload 8
aaload
invokevirtual org.apache.lucene.codecs.NormsProducer.getMergeInstance:()Lorg/apache/lucene/codecs/NormsProducer;
aastore
25: StackMap locals: org.apache.lucene.index.CodecReader
StackMap stack:
aload 0
getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getDocValuesReader:()Lorg/apache/lucene/codecs/DocValuesProducer;
aastore
26: aload 0
getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
iload 8
aaload
ifnull 28
27: aload 0
getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
iload 8
aload 0
getfield org.apache.lucene.index.MergeState.docValuesProducers:[Lorg/apache/lucene/codecs/DocValuesProducer;
iload 8
aaload
invokevirtual org.apache.lucene.codecs.DocValuesProducer.getMergeInstance:()Lorg/apache/lucene/codecs/DocValuesProducer;
aastore
28: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getFieldsReader:()Lorg/apache/lucene/codecs/StoredFieldsReader;
aastore
29: aload 0
getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
iload 8
aaload
ifnull 31
30: aload 0
getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
iload 8
aload 0
getfield org.apache.lucene.index.MergeState.storedFieldsReaders:[Lorg/apache/lucene/codecs/StoredFieldsReader;
iload 8
aaload
invokevirtual org.apache.lucene.codecs.StoredFieldsReader.getMergeInstance:()Lorg/apache/lucene/codecs/StoredFieldsReader;
aastore
31: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getTermVectorsReader:()Lorg/apache/lucene/codecs/TermVectorsReader;
aastore
32: aload 0
getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
iload 8
aaload
ifnull 34
33: aload 0
getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
iload 8
aload 0
getfield org.apache.lucene.index.MergeState.termVectorsReaders:[Lorg/apache/lucene/codecs/TermVectorsReader;
iload 8
aaload
invokevirtual org.apache.lucene.codecs.TermVectorsReader.getMergeInstance:()Lorg/apache/lucene/codecs/TermVectorsReader;
aastore
34: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.MergeState.fieldsProducers:[Lorg/apache/lucene/codecs/FieldsProducer;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getPostingsReader:()Lorg/apache/lucene/codecs/FieldsProducer;
invokevirtual org.apache.lucene.codecs.FieldsProducer.getMergeInstance:()Lorg/apache/lucene/codecs/FieldsProducer;
aastore
35: aload 0
getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
iload 8
aload 9
invokevirtual org.apache.lucene.index.CodecReader.getPointsReader:()Lorg/apache/lucene/codecs/PointsReader;
aastore
36: aload 0
getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
iload 8
aaload
ifnull 38
37: aload 0
getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
iload 8
aload 0
getfield org.apache.lucene.index.MergeState.pointsReaders:[Lorg/apache/lucene/codecs/PointsReader;
iload 8
aaload
invokevirtual org.apache.lucene.codecs.PointsReader.getMergeInstance:()Lorg/apache/lucene/codecs/PointsReader;
aastore
38: StackMap locals:
StackMap stack:
iload 7
aload 9
invokevirtual org.apache.lucene.index.CodecReader.numDocs:()I
iadd
istore 7
end local 9 39: iinc 8 1
StackMap locals:
StackMap stack:
40: iload 8
iload 5
if_icmplt 18
end local 8 41: aload 2
iload 7
invokevirtual org.apache.lucene.index.SegmentInfo.setMaxDoc:(I)V
42: aload 0
aload 2
putfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
43: aload 0
aload 0
aload 6
aload 4
invokevirtual org.apache.lucene.index.MergeState.buildDocMaps:(Ljava/util/List;Lorg/apache/lucene/search/Sort;)[Lorg/apache/lucene/index/MergeState$DocMap;
putfield org.apache.lucene.index.MergeState.docMaps:[Lorg/apache/lucene/index/MergeState$DocMap;
44: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lorg/apache/lucene/index/MergeState;
0 45 1 originalReaders Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
0 45 2 segmentInfo Lorg/apache/lucene/index/SegmentInfo;
0 45 3 infoStream Lorg/apache/lucene/util/InfoStream;
3 45 4 indexSort Lorg/apache/lucene/search/Sort;
4 45 5 numReaders I
6 45 6 readers Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
16 45 7 numDocs I
17 41 8 i I
19 39 9 reader Lorg/apache/lucene/index/CodecReader;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;)V
MethodParameters:
Name Flags
originalReaders
segmentInfo
infoStream
private org.apache.lucene.index.MergeState$DocMap[] buildDeletionDocMaps(java.util.List<org.apache.lucene.index.CodecReader>);
descriptor: (Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 2: iload 3
anewarray org.apache.lucene.index.MergeState$DocMap
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 15
5: StackMap locals: org.apache.lucene.index.MergeState java.util.List int int org.apache.lucene.index.MergeState$DocMap[] int
StackMap stack:
aload 1
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.lucene.index.LeafReader
astore 6
start local 6 6: aload 6
invokevirtual org.apache.lucene.index.LeafReader.getLiveDocs:()Lorg/apache/lucene/util/Bits;
astore 7
start local 7 7: aload 7
ifnull 10
8: aload 6
invokevirtual org.apache.lucene.index.LeafReader.maxDoc:()I
aload 7
invokestatic org.apache.lucene.index.MergeState.removeDeletes:(ILorg/apache/lucene/util/Bits;)Lorg/apache/lucene/util/packed/PackedLongValues;
astore 8
start local 8 9: goto 11
end local 8 10: StackMap locals: org.apache.lucene.index.LeafReader org.apache.lucene.util.Bits
StackMap stack:
aconst_null
astore 8
start local 8 11: StackMap locals: org.apache.lucene.util.packed.PackedLongValues
StackMap stack:
iload 2
istore 9
start local 9 12: aload 4
iload 5
new org.apache.lucene.index.MergeState$1
dup
aload 0
aload 7
iload 9
aload 8
invokespecial org.apache.lucene.index.MergeState$1.<init>:(Lorg/apache/lucene/index/MergeState;Lorg/apache/lucene/util/Bits;ILorg/apache/lucene/util/packed/PackedLongValues;)V
aastore
13: iload 2
aload 6
invokevirtual org.apache.lucene.index.LeafReader.numDocs:()I
iadd
istore 2
end local 9 end local 8 end local 7 end local 6 14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 3
if_icmplt 5
end local 5 16: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/lucene/index/MergeState;
0 17 1 readers Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
1 17 2 totalDocs I
2 17 3 numReaders I
3 17 4 docMaps [Lorg/apache/lucene/index/MergeState$DocMap;
4 16 5 i I
6 14 6 reader Lorg/apache/lucene/index/LeafReader;
7 14 7 liveDocs Lorg/apache/lucene/util/Bits;
9 10 8 delDocMap Lorg/apache/lucene/util/packed/PackedLongValues;
11 14 8 delDocMap Lorg/apache/lucene/util/packed/PackedLongValues;
12 14 9 docBase I
Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;)[Lorg/apache/lucene/index/MergeState$DocMap;
MethodParameters:
Name Flags
readers
private org.apache.lucene.index.MergeState$DocMap[] buildDocMaps(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.search.Sort);
descriptor: (Ljava/util/List;Lorg/apache/lucene/search/Sort;)[Lorg/apache/lucene/index/MergeState$DocMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
aload 1
invokevirtual org.apache.lucene.index.MergeState.buildDeletionDocMaps:(Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 3
start local 3 3: aload 2
aload 1
invokestatic org.apache.lucene.index.MultiSorter.sort:(Lorg/apache/lucene/search/Sort;Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
astore 5
start local 5 4: aload 5
ifnonnull 6
5: aload 0
aload 1
invokevirtual org.apache.lucene.index.MergeState.buildDeletionDocMaps:(Ljava/util/List;)[Lorg/apache/lucene/index/MergeState$DocMap;
areturn
6: StackMap locals: long org.apache.lucene.index.MergeState$DocMap[]
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.MergeState.needsIndexSort:Z
7: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 8: aload 0
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 10
9: aload 0
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.2f msec to build merge sorted DocMaps"
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 6
lload 3
lsub
l2d
ldc 1000000.0
ddiv
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
10: StackMap locals: long
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/MergeState;
0 11 1 readers Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
0 11 2 indexSort Lorg/apache/lucene/search/Sort;
3 11 3 t0 J
4 11 5 result [Lorg/apache/lucene/index/MergeState$DocMap;
8 11 6 t1 J
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/search/Sort;)[Lorg/apache/lucene/index/MergeState$DocMap;
MethodParameters:
Name Flags
readers
indexSort
private java.util.List<org.apache.lucene.index.CodecReader> maybeSortReaders(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.index.SegmentInfo);
descriptor: (Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.MergeState.leafDocMaps:[Lorg/apache/lucene/index/MergeState$DocMap;
iload 3
new org.apache.lucene.index.MergeState$2
dup
aload 0
invokespecial org.apache.lucene.index.MergeState$2.<init>:(Lorg/apache/lucene/index/MergeState;)V
aastore
3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 3 5: aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: aload 1
areturn
8: StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort
StackMap stack:
new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 9: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 19
StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.CodecReader
astore 5
start local 5 11: aload 5
invokevirtual org.apache.lucene.index.CodecReader.getMetaData:()Lorg/apache/lucene/index/LeafMetaData;
invokevirtual org.apache.lucene.index.LeafMetaData.getSort:()Lorg/apache/lucene/search/Sort;
astore 7
start local 7 12: aload 7
ifnull 13
aload 3
aload 7
invokestatic org.apache.lucene.index.IndexWriter.isCongruentSort:(Lorg/apache/lucene/search/Sort;Lorg/apache/lucene/search/Sort;)Z
ifne 18
13: StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.search.Sort
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "index sort mismatch: merged segment has sort="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
14: ldc " but to-be-merged segment has sort="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
ifnonnull 15
ldc "null"
goto 16
StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.search.Sort
StackMap stack: new 13 new 13 java.lang.StringBuilder
15: aload 7
StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.search.Sort
StackMap stack: new 13 new 13 java.lang.StringBuilder java.lang.Object
16: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 19: StackMap locals: org.apache.lucene.index.MergeState java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.search.Sort java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
20: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/lucene/index/MergeState;
0 21 1 originalReaders Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
0 21 2 segmentInfo Lorg/apache/lucene/index/SegmentInfo;
1 5 3 i I
6 21 3 indexSort Lorg/apache/lucene/search/Sort;
9 21 4 readers Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
11 19 5 leaf Lorg/apache/lucene/index/CodecReader;
12 19 7 segmentSort Lorg/apache/lucene/search/Sort;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/index/SegmentInfo;)Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
MethodParameters:
Name Flags
originalReaders
segmentInfo
static org.apache.lucene.util.packed.PackedLongValues removeDeletes(int, org.apache.lucene.util.Bits);
descriptor: (ILorg/apache/lucene/util/Bits;)Lorg/apache/lucene/util/packed/PackedLongValues;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: fconst_0
invokestatic org.apache.lucene.util.packed.PackedLongValues.monotonicBuilder:(F)Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: org.apache.lucene.util.packed.PackedLongValues$Builder int int
StackMap stack:
aload 2
iload 4
iload 3
isub
i2l
invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.add:(J)Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
pop
5: aload 1
iload 4
invokeinterface org.apache.lucene.util.Bits.get:(I)Z
ifne 7
6: iinc 3 1
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 0
if_icmplt 4
end local 4 9: aload 2
invokevirtual org.apache.lucene.util.packed.PackedLongValues$Builder.build:()Lorg/apache/lucene/util/packed/PackedLongValues;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 maxDoc I
0 10 1 liveDocs Lorg/apache/lucene/util/Bits;
1 10 2 docMapBuilder Lorg/apache/lucene/util/packed/PackedLongValues$Builder;
2 10 3 del I
3 9 4 i I
MethodParameters:
Name Flags
maxDoc final
liveDocs final
}
SourceFile: "MergeState.java"
NestMembers:
org.apache.lucene.index.MergeState$1 org.apache.lucene.index.MergeState$2 org.apache.lucene.index.MergeState$DocMap
InnerClasses:
org.apache.lucene.index.MergeState$1
org.apache.lucene.index.MergeState$2
public abstract DocMap = org.apache.lucene.index.MergeState$DocMap of org.apache.lucene.index.MergeState
public Builder = org.apache.lucene.util.packed.PackedLongValues$Builder of org.apache.lucene.util.packed.PackedLongValues