final class org.apache.lucene.index.SegmentMerger
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.SegmentMerger
super_class: java.lang.Object
{
private final org.apache.lucene.store.Directory directory;
descriptor: Lorg/apache/lucene/store/Directory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.codecs.Codec codec;
descriptor: Lorg/apache/lucene/codecs/Codec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.store.IOContext context;
descriptor: Lorg/apache/lucene/store/IOContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.index.MergeState mergeState;
descriptor: Lorg/apache/lucene/index/MergeState;
flags: (0x0010) ACC_FINAL
private final org.apache.lucene.index.FieldInfos$Builder fieldInfosBuilder;
descriptor: Lorg/apache/lucene/index/FieldInfos$Builder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/SegmentMerger;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.index.SegmentMerger.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.List<org.apache.lucene.index.CodecReader>, org.apache.lucene.index.SegmentInfo, org.apache.lucene.util.InfoStream, org.apache.lucene.store.Directory, org.apache.lucene.index.FieldInfos$FieldNumbers, org.apache.lucene.store.IOContext);
descriptor: (Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;Lorg/apache/lucene/store/IOContext;)V
flags: (0x0000)
Code:
stack=6, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 6
getfield org.apache.lucene.store.IOContext.context:Lorg/apache/lucene/store/IOContext$Context;
getstatic org.apache.lucene.store.IOContext$Context.MERGE:Lorg/apache/lucene/store/IOContext$Context;
if_acmpeq 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "IOContext.context should be MERGE; got: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
getfield org.apache.lucene.store.IOContext.context:Lorg/apache/lucene/store/IOContext$Context;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.apache.lucene.index.SegmentMerger java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.store.Directory org.apache.lucene.index.FieldInfos$FieldNumbers org.apache.lucene.store.IOContext
StackMap stack:
aload 0
new org.apache.lucene.index.MergeState
dup
aload 1
aload 2
aload 3
invokespecial org.apache.lucene.index.MergeState.<init>:(Ljava/util/List;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;)V
putfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
4: aload 0
aload 4
putfield org.apache.lucene.index.SegmentMerger.directory:Lorg/apache/lucene/store/Directory;
5: aload 0
aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
putfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
6: aload 0
aload 6
putfield org.apache.lucene.index.SegmentMerger.context:Lorg/apache/lucene/store/IOContext;
7: aload 0
new org.apache.lucene.index.FieldInfos$Builder
dup
aload 5
invokespecial org.apache.lucene.index.FieldInfos$Builder.<init>:(Lorg/apache/lucene/index/FieldInfos$FieldNumbers;)V
putfield org.apache.lucene.index.SegmentMerger.fieldInfosBuilder:Lorg/apache/lucene/index/FieldInfos$Builder;
8: getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
astore 7
start local 7 9: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 17
StackMap locals: org.apache.lucene.index.SegmentMerger java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.store.Directory org.apache.lucene.index.FieldInfos$FieldNumbers org.apache.lucene.store.IOContext org.apache.lucene.util.Version top java.util.Iterator
StackMap stack:
10: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.CodecReader
astore 8
start local 8 11: aload 8
invokevirtual org.apache.lucene.index.CodecReader.getMetaData:()Lorg/apache/lucene/index/LeafMetaData;
invokevirtual org.apache.lucene.index.LeafMetaData.getMinVersion:()Lorg/apache/lucene/util/Version;
astore 10
start local 10 12: aload 10
ifnonnull 15
13: aconst_null
astore 7
14: goto 18
15: StackMap locals: org.apache.lucene.index.SegmentMerger java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.store.Directory org.apache.lucene.index.FieldInfos$FieldNumbers org.apache.lucene.store.IOContext org.apache.lucene.util.Version org.apache.lucene.index.CodecReader java.util.Iterator org.apache.lucene.util.Version
StackMap stack:
aload 7
aload 10
invokevirtual org.apache.lucene.util.Version.onOrAfter:(Lorg/apache/lucene/util/Version;)Z
ifeq 17
16: aload 10
astore 7
end local 10 end local 8 17: StackMap locals: org.apache.lucene.index.SegmentMerger java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.store.Directory org.apache.lucene.index.FieldInfos$FieldNumbers org.apache.lucene.store.IOContext org.apache.lucene.util.Version top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
18: StackMap locals: org.apache.lucene.index.SegmentMerger java.util.List org.apache.lucene.index.SegmentInfo org.apache.lucene.util.InfoStream org.apache.lucene.store.Directory org.apache.lucene.index.FieldInfos$FieldNumbers org.apache.lucene.store.IOContext org.apache.lucene.util.Version
StackMap stack:
getstatic org.apache.lucene.index.SegmentMerger.$assertionsDisabled:Z
ifne 19
aload 2
getfield org.apache.lucene.index.SegmentInfo.minVersion:Lorg/apache/lucene/util/Version;
ifnull 19
new java.lang.AssertionError
dup
ldc "The min version should be set by SegmentMerger for merged segments"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
19: StackMap locals:
StackMap stack:
aload 2
aload 7
putfield org.apache.lucene.index.SegmentInfo.minVersion:Lorg/apache/lucene/util/Version;
20: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 23
21: aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
ifnull 23
22: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
ldc "index sort during merge: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
23: StackMap locals:
StackMap stack:
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 24 0 this Lorg/apache/lucene/index/SegmentMerger;
0 24 1 readers Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;
0 24 2 segmentInfo Lorg/apache/lucene/index/SegmentInfo;
0 24 3 infoStream Lorg/apache/lucene/util/InfoStream;
0 24 4 dir Lorg/apache/lucene/store/Directory;
0 24 5 fieldNumbers Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
0 24 6 context Lorg/apache/lucene/store/IOContext;
9 24 7 minVersion Lorg/apache/lucene/util/Version;
11 17 8 reader Lorg/apache/lucene/index/CodecReader;
12 17 10 leafMinVersion Lorg/apache/lucene/util/Version;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/apache/lucene/index/CodecReader;>;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$FieldNumbers;Lorg/apache/lucene/store/IOContext;)V
MethodParameters:
Name Flags
readers
segmentInfo
infoStream
dir
fieldNumbers
context
boolean shouldMerge();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/SegmentMerger;
org.apache.lucene.index.MergeState merge();
descriptor: ()Lorg/apache/lucene/index/MergeState;
flags: (0x0000)
Code:
stack=8, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.index.SegmentMerger.shouldMerge:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Merge would result in 0 document segment"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.SegmentMerger.mergeFieldInfos:()V
3: lconst_0
lstore 1
start local 1 4: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 6
5: invokestatic java.lang.System.nanoTime:()J
lstore 1
6: StackMap locals: long
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.SegmentMerger.mergeFields:()I
istore 3
start local 3 7: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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
8: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 9: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 4
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to merge stored fields ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 4 10: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.index.SegmentMerger.$assertionsDisabled:Z
ifne 11
iload 3
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
if_icmpeq 11
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "numMerged="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs mergeState.segmentInfo.maxDoc()="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
new org.apache.lucene.index.SegmentWriteState
dup
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
aload 0
getfield org.apache.lucene.index.SegmentMerger.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
12: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
aconst_null
aload 0
getfield org.apache.lucene.index.SegmentMerger.context:Lorg/apache/lucene/store/IOContext;
13: invokespecial org.apache.lucene.index.SegmentWriteState.<init>:(Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/index/FieldInfos;Lorg/apache/lucene/index/BufferedUpdates;Lorg/apache/lucene/store/IOContext;)V
astore 4
start local 4 14: new org.apache.lucene.index.SegmentReadState
dup
aload 0
getfield org.apache.lucene.index.SegmentMerger.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
15: getstatic org.apache.lucene.store.IOContext.READ:Lorg/apache/lucene/store/IOContext;
aload 4
getfield org.apache.lucene.index.SegmentWriteState.segmentSuffix:Ljava/lang/String;
16: invokespecial org.apache.lucene.index.SegmentReadState.<init>:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/index/FieldInfos;Lorg/apache/lucene/store/IOContext;Ljava/lang/String;)V
astore 5
start local 5 17: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasNorms:()Z
ifeq 24
18: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 20
19: invokestatic java.lang.System.nanoTime:()J
lstore 1
20: StackMap locals: org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.SegmentReadState
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.lucene.index.SegmentMerger.mergeNorms:(Lorg/apache/lucene/index/SegmentWriteState;)V
21: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 24
22: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 23: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 6
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to merge norms ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 24: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 26
25: invokestatic java.lang.System.nanoTime:()J
lstore 1
26: StackMap locals:
StackMap stack:
aconst_null
astore 6
aconst_null
astore 7
27: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasNorms:()Z
ifeq 29
28: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.normsFormat:()Lorg/apache/lucene/codecs/NormsFormat;
aload 5
invokevirtual org.apache.lucene.codecs.NormsFormat.normsProducer:(Lorg/apache/lucene/index/SegmentReadState;)Lorg/apache/lucene/codecs/NormsProducer;
goto 30
29: StackMap locals: java.lang.Throwable java.lang.Throwable
StackMap stack:
aconst_null
30: StackMap locals:
StackMap stack: org.apache.lucene.codecs.NormsProducer
astore 8
start local 8 31: aconst_null
astore 9
start local 9 32: aload 8
ifnull 34
33: aload 8
invokevirtual org.apache.lucene.codecs.NormsProducer.getMergeInstance:()Lorg/apache/lucene/codecs/NormsProducer;
astore 9
34: StackMap locals: org.apache.lucene.codecs.NormsProducer org.apache.lucene.codecs.NormsProducer
StackMap stack:
aload 0
aload 4
aload 9
invokevirtual org.apache.lucene.index.SegmentMerger.mergeTerms:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/codecs/NormsProducer;)V
end local 9 35: aload 8
ifnull 41
aload 8
invokevirtual org.apache.lucene.codecs.NormsProducer.close:()V
goto 41
StackMap locals: org.apache.lucene.index.SegmentMerger long int org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.SegmentReadState java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.NormsProducer
StackMap stack: java.lang.Throwable
36: astore 6
aload 8
ifnull 37
aload 8
invokevirtual org.apache.lucene.codecs.NormsProducer.close:()V
end local 8 StackMap locals:
StackMap stack:
37: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
38: astore 7
aload 6
ifnonnull 39
aload 7
astore 6
goto 40
StackMap locals:
StackMap stack:
39: aload 6
aload 7
if_acmpeq 40
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
40: aload 6
athrow
41: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 44
42: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 43: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 6
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to merge postings ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 44: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 46
45: invokestatic java.lang.System.nanoTime:()J
lstore 1
46: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasDocValues:()Z
ifeq 48
47: aload 0
aload 4
invokevirtual org.apache.lucene.index.SegmentMerger.mergeDocValues:(Lorg/apache/lucene/index/SegmentWriteState;)V
48: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 51
49: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 50: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 6
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to merge doc values ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 51: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 53
52: invokestatic java.lang.System.nanoTime:()J
lstore 1
53: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasPointValues:()Z
ifeq 55
54: aload 0
aload 4
invokevirtual org.apache.lucene.index.SegmentMerger.mergePoints:(Lorg/apache/lucene/index/SegmentWriteState;)V
55: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 58
56: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 57: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 6
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to merge points ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 58: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasVectors:()Z
ifeq 66
59: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 61
60: invokestatic java.lang.System.nanoTime:()J
lstore 1
61: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.SegmentMerger.mergeVectors:()I
istore 3
62: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 65
63: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 64: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 6
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to merge vectors ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 65: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.SegmentMerger.$assertionsDisabled:Z
ifne 66
iload 3
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
if_icmpeq 66
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
66: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 68
67: invokestatic java.lang.System.nanoTime:()J
lstore 1
68: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.fieldInfosFormat:()Lorg/apache/lucene/codecs/FieldInfosFormat;
aload 0
getfield org.apache.lucene.index.SegmentMerger.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
ldc ""
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
aload 0
getfield org.apache.lucene.index.SegmentMerger.context:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.FieldInfosFormat.write:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Ljava/lang/String;Lorg/apache/lucene/index/FieldInfos;Lorg/apache/lucene/store/IOContext;)V
69: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
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 72
70: invokestatic java.lang.System.nanoTime:()J
lstore 6
start local 6 71: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "SM"
new java.lang.StringBuilder
dup
lload 6
lload 1
lsub
ldc 1000000
ldiv
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " msec to write field infos ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " docs]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 72: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
areturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lorg/apache/lucene/index/SegmentMerger;
4 73 1 t0 J
7 73 3 numMerged I
9 10 4 t1 J
14 73 4 segmentWriteState Lorg/apache/lucene/index/SegmentWriteState;
17 73 5 segmentReadState Lorg/apache/lucene/index/SegmentReadState;
23 24 6 t1 J
31 37 8 norms Lorg/apache/lucene/codecs/NormsProducer;
32 35 9 normsMergeInstance Lorg/apache/lucene/codecs/NormsProducer;
43 44 6 t1 J
50 51 6 t1 J
57 58 6 t1 J
64 65 6 t1 J
71 72 6 t1 J
Exception table:
from to target type
31 35 36 any
27 38 38 any
Exceptions:
throws java.io.IOException
private void mergeDocValues(org.apache.lucene.index.SegmentWriteState);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.docValuesFormat:()Lorg/apache/lucene/codecs/DocValuesFormat;
aload 1
invokevirtual org.apache.lucene.codecs.DocValuesFormat.fieldsConsumer:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/DocValuesConsumer;
astore 4
start local 4 2: aload 4
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
invokevirtual org.apache.lucene.codecs.DocValuesConsumer.merge:(Lorg/apache/lucene/index/MergeState;)V
3: aload 4
ifnull 9
aload 4
invokevirtual org.apache.lucene.codecs.DocValuesConsumer.close:()V
goto 9
StackMap locals: org.apache.lucene.index.SegmentMerger org.apache.lucene.index.SegmentWriteState java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.DocValuesConsumer
StackMap stack: java.lang.Throwable
4: astore 2
aload 4
ifnull 5
aload 4
invokevirtual org.apache.lucene.codecs.DocValuesConsumer.close:()V
end local 4 StackMap locals:
StackMap stack:
5: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
aload 2
ifnonnull 7
aload 3
astore 2
goto 8
StackMap locals:
StackMap stack:
7: aload 2
aload 3
if_acmpeq 8
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/SegmentMerger;
0 10 1 segmentWriteState Lorg/apache/lucene/index/SegmentWriteState;
2 5 4 consumer Lorg/apache/lucene/codecs/DocValuesConsumer;
Exception table:
from to target type
2 3 4 any
1 6 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
segmentWriteState
private void mergePoints(org.apache.lucene.index.SegmentWriteState);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.pointsFormat:()Lorg/apache/lucene/codecs/PointsFormat;
aload 1
invokevirtual org.apache.lucene.codecs.PointsFormat.fieldsWriter:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/PointsWriter;
astore 4
start local 4 2: aload 4
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
invokevirtual org.apache.lucene.codecs.PointsWriter.merge:(Lorg/apache/lucene/index/MergeState;)V
3: aload 4
ifnull 9
aload 4
invokevirtual org.apache.lucene.codecs.PointsWriter.close:()V
goto 9
StackMap locals: org.apache.lucene.index.SegmentMerger org.apache.lucene.index.SegmentWriteState java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.PointsWriter
StackMap stack: java.lang.Throwable
4: astore 2
aload 4
ifnull 5
aload 4
invokevirtual org.apache.lucene.codecs.PointsWriter.close:()V
end local 4 StackMap locals:
StackMap stack:
5: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
aload 2
ifnonnull 7
aload 3
astore 2
goto 8
StackMap locals:
StackMap stack:
7: aload 2
aload 3
if_acmpeq 8
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/SegmentMerger;
0 10 1 segmentWriteState Lorg/apache/lucene/index/SegmentWriteState;
2 5 4 writer Lorg/apache/lucene/codecs/PointsWriter;
Exception table:
from to target type
2 3 4 any
1 6 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
segmentWriteState
private void mergeNorms(org.apache.lucene.index.SegmentWriteState);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.normsFormat:()Lorg/apache/lucene/codecs/NormsFormat;
aload 1
invokevirtual org.apache.lucene.codecs.NormsFormat.normsConsumer:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/NormsConsumer;
astore 4
start local 4 2: aload 4
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
invokevirtual org.apache.lucene.codecs.NormsConsumer.merge:(Lorg/apache/lucene/index/MergeState;)V
3: aload 4
ifnull 9
aload 4
invokevirtual org.apache.lucene.codecs.NormsConsumer.close:()V
goto 9
StackMap locals: org.apache.lucene.index.SegmentMerger org.apache.lucene.index.SegmentWriteState java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.NormsConsumer
StackMap stack: java.lang.Throwable
4: astore 2
aload 4
ifnull 5
aload 4
invokevirtual org.apache.lucene.codecs.NormsConsumer.close:()V
end local 4 StackMap locals:
StackMap stack:
5: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
aload 2
ifnonnull 7
aload 3
astore 2
goto 8
StackMap locals:
StackMap stack:
7: aload 2
aload 3
if_acmpeq 8
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/SegmentMerger;
0 10 1 segmentWriteState Lorg/apache/lucene/index/SegmentWriteState;
2 5 4 consumer Lorg/apache/lucene/codecs/NormsConsumer;
Exception table:
from to target type
2 3 4 any
1 6 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
segmentWriteState
public void mergeFieldInfos();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.fieldInfos:[Lorg/apache/lucene/index/FieldInfos;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: org.apache.lucene.index.SegmentMerger top int int org.apache.lucene.index.FieldInfos[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual org.apache.lucene.index.FieldInfos.iterator:()Ljava/util/Iterator;
astore 6
goto 5
StackMap locals: org.apache.lucene.index.SegmentMerger org.apache.lucene.index.FieldInfos int int org.apache.lucene.index.FieldInfos[] top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldInfo
astore 5
start local 5 4: aload 0
getfield org.apache.lucene.index.SegmentMerger.fieldInfosBuilder:Lorg/apache/lucene/index/FieldInfos$Builder;
aload 5
invokevirtual org.apache.lucene.index.FieldInfos$Builder.add:(Lorg/apache/lucene/index/FieldInfo;)Lorg/apache/lucene/index/FieldInfo;
pop
end local 5 5: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 6: iinc 2 1
StackMap locals: org.apache.lucene.index.SegmentMerger top int int org.apache.lucene.index.FieldInfos[]
StackMap stack:
7: iload 2
iload 3
if_icmplt 1
8: aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
aload 0
getfield org.apache.lucene.index.SegmentMerger.fieldInfosBuilder:Lorg/apache/lucene/index/FieldInfos$Builder;
invokevirtual org.apache.lucene.index.FieldInfos$Builder.finish:()Lorg/apache/lucene/index/FieldInfos;
putfield org.apache.lucene.index.MergeState.mergeFieldInfos:Lorg/apache/lucene/index/FieldInfos;
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/SegmentMerger;
2 6 1 readerFieldInfos Lorg/apache/lucene/index/FieldInfos;
4 5 5 fi Lorg/apache/lucene/index/FieldInfo;
private int mergeFields();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.storedFieldsFormat:()Lorg/apache/lucene/codecs/StoredFieldsFormat;
aload 0
getfield org.apache.lucene.index.SegmentMerger.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 0
getfield org.apache.lucene.index.SegmentMerger.context:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.StoredFieldsFormat.fieldsWriter:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/codecs/StoredFieldsWriter;
astore 3
start local 3 2: aload 3
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.merge:(Lorg/apache/lucene/index/MergeState;)I
3: aload 3
ifnull 4
aload 3
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.close:()V
4: StackMap locals: org.apache.lucene.index.SegmentMerger java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.StoredFieldsWriter
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual org.apache.lucene.codecs.StoredFieldsWriter.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/SegmentMerger;
2 7 3 fieldsWriter Lorg/apache/lucene/codecs/StoredFieldsWriter;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
Exceptions:
throws java.io.IOException
private int mergeVectors();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.termVectorsFormat:()Lorg/apache/lucene/codecs/TermVectorsFormat;
aload 0
getfield org.apache.lucene.index.SegmentMerger.directory:Lorg/apache/lucene/store/Directory;
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
getfield org.apache.lucene.index.MergeState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 0
getfield org.apache.lucene.index.SegmentMerger.context:Lorg/apache/lucene/store/IOContext;
invokevirtual org.apache.lucene.codecs.TermVectorsFormat.vectorsWriter:(Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/codecs/TermVectorsWriter;
astore 3
start local 3 2: aload 3
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.merge:(Lorg/apache/lucene/index/MergeState;)I
3: aload 3
ifnull 4
aload 3
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.close:()V
4: StackMap locals: org.apache.lucene.index.SegmentMerger java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.TermVectorsWriter
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/index/SegmentMerger;
2 7 3 termVectorsWriter Lorg/apache/lucene/codecs/TermVectorsWriter;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
Exceptions:
throws java.io.IOException
private void mergeTerms(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.codecs.NormsProducer);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/codecs/NormsProducer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 0
getfield org.apache.lucene.index.SegmentMerger.codec:Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.postingsFormat:()Lorg/apache/lucene/codecs/PostingsFormat;
aload 1
invokevirtual org.apache.lucene.codecs.PostingsFormat.fieldsConsumer:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/FieldsConsumer;
astore 5
start local 5 2: aload 5
aload 0
getfield org.apache.lucene.index.SegmentMerger.mergeState:Lorg/apache/lucene/index/MergeState;
aload 2
invokevirtual org.apache.lucene.codecs.FieldsConsumer.merge:(Lorg/apache/lucene/index/MergeState;Lorg/apache/lucene/codecs/NormsProducer;)V
3: aload 5
ifnull 9
aload 5
invokevirtual org.apache.lucene.codecs.FieldsConsumer.close:()V
goto 9
StackMap locals: org.apache.lucene.index.SegmentMerger org.apache.lucene.index.SegmentWriteState org.apache.lucene.codecs.NormsProducer java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.FieldsConsumer
StackMap stack: java.lang.Throwable
4: astore 3
aload 5
ifnull 5
aload 5
invokevirtual org.apache.lucene.codecs.FieldsConsumer.close:()V
end local 5 StackMap locals:
StackMap stack:
5: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 4
aload 3
ifnonnull 7
aload 4
astore 3
goto 8
StackMap locals:
StackMap stack:
7: aload 3
aload 4
if_acmpeq 8
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 3
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/SegmentMerger;
0 10 1 segmentWriteState Lorg/apache/lucene/index/SegmentWriteState;
0 10 2 norms Lorg/apache/lucene/codecs/NormsProducer;
2 5 5 consumer Lorg/apache/lucene/codecs/FieldsConsumer;
Exception table:
from to target type
2 3 4 any
1 6 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
segmentWriteState
norms
}
SourceFile: "SegmentMerger.java"
InnerClasses:
final Builder = org.apache.lucene.index.FieldInfos$Builder of org.apache.lucene.index.FieldInfos
final FieldNumbers = org.apache.lucene.index.FieldInfos$FieldNumbers of org.apache.lucene.index.FieldInfos
public final Context = org.apache.lucene.store.IOContext$Context of org.apache.lucene.store.IOContext