final class org.apache.lucene.index.DefaultIndexingChain extends org.apache.lucene.index.DocConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.DefaultIndexingChain
super_class: org.apache.lucene.index.DocConsumer
{
final org.apache.lucene.util.Counter bytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.index.FieldInfos$Builder fieldInfos;
descriptor: Lorg/apache/lucene/index/FieldInfos$Builder;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.index.TermsHash termsHash;
descriptor: Lorg/apache/lucene/index/TermsHash;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.index.StoredFieldsConsumer storedFieldsConsumer;
descriptor: Lorg/apache/lucene/index/StoredFieldsConsumer;
flags: (0x0010) ACC_FINAL
final org.apache.lucene.index.TermVectorsConsumer termVectorsWriter;
descriptor: Lorg/apache/lucene/index/TermVectorsConsumer;
flags: (0x0010) ACC_FINAL
private org.apache.lucene.index.DefaultIndexingChain$PerField[] fieldHash;
descriptor: [Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
flags: (0x0002) ACC_PRIVATE
private int hashMask;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int totalFieldCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long nextFieldGen;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.index.DefaultIndexingChain$PerField[] fields;
descriptor: [Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.util.InfoStream infoStream;
descriptor: Lorg/apache/lucene/util/InfoStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.ByteBlockPool$Allocator byteBlockAllocator;
descriptor: Lorg/apache/lucene/util/ByteBlockPool$Allocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.LiveIndexWriterConfig indexWriterConfig;
descriptor: Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int indexCreatedVersionMajor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.Consumer<java.lang.Throwable> abortingExceptionConsumer;
descriptor: Ljava/util/function/Consumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
private boolean hasHitAbortingException;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$apache$lucene$index$DocValuesType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, 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/DefaultIndexingChain;
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.DefaultIndexingChain.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, org.apache.lucene.index.SegmentInfo, org.apache.lucene.store.Directory, org.apache.lucene.index.FieldInfos$Builder, org.apache.lucene.index.LiveIndexWriterConfig, java.util.function.Consumer<java.lang.Throwable>);
descriptor: (ILorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$Builder;Lorg/apache/lucene/index/LiveIndexWriterConfig;Ljava/util/function/Consumer;)V
flags: (0x0000)
Code:
stack=8, locals=8, 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 org.apache.lucene.index.DocConsumer.<init>:()V
1: aload 0
invokestatic org.apache.lucene.util.Counter.newCounter:()Lorg/apache/lucene/util/Counter;
putfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
2: aload 0
iconst_2
anewarray org.apache.lucene.index.DefaultIndexingChain$PerField
putfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
3: aload 0
iconst_1
putfield org.apache.lucene.index.DefaultIndexingChain.hashMask:I
4: aload 0
iconst_1
anewarray org.apache.lucene.index.DefaultIndexingChain$PerField
putfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
5: aload 0
iload 1
putfield org.apache.lucene.index.DefaultIndexingChain.indexCreatedVersionMajor:I
6: aload 0
new org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator
dup
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.<init>:(Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.DefaultIndexingChain.byteBlockAllocator:Lorg/apache/lucene/util/ByteBlockPool$Allocator;
7: new org.apache.lucene.index.DefaultIndexingChain$IntBlockAllocator
dup
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.index.DefaultIndexingChain$IntBlockAllocator.<init>:(Lorg/apache/lucene/util/Counter;)V
astore 7
start local 7 8: aload 0
aload 5
putfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
9: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 10
aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getIndexSort:()Lorg/apache/lucene/search/Sort;
if_acmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.apache.lucene.index.DefaultIndexingChain int org.apache.lucene.index.SegmentInfo org.apache.lucene.store.Directory org.apache.lucene.index.FieldInfos$Builder org.apache.lucene.index.LiveIndexWriterConfig java.util.function.Consumer org.apache.lucene.util.IntBlockPool$Allocator
StackMap stack:
aload 0
aload 4
putfield org.apache.lucene.index.DefaultIndexingChain.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
11: aload 0
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getInfoStream:()Lorg/apache/lucene/util/InfoStream;
putfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
12: aload 0
aload 6
putfield org.apache.lucene.index.DefaultIndexingChain.abortingExceptionConsumer:Ljava/util/function/Consumer;
13: aload 2
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
ifnonnull 17
14: aload 0
new org.apache.lucene.index.StoredFieldsConsumer
dup
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getCodec:()Lorg/apache/lucene/codecs/Codec;
aload 3
aload 2
invokespecial org.apache.lucene.index.StoredFieldsConsumer.<init>:(Lorg/apache/lucene/codecs/Codec;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;)V
putfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
15: aload 0
new org.apache.lucene.index.TermVectorsConsumer
dup
aload 7
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.byteBlockAllocator:Lorg/apache/lucene/util/ByteBlockPool$Allocator;
aload 3
aload 2
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokespecial org.apache.lucene.index.TermVectorsConsumer.<init>:(Lorg/apache/lucene/util/IntBlockPool$Allocator;Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/codecs/Codec;)V
putfield org.apache.lucene.index.DefaultIndexingChain.termVectorsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
new org.apache.lucene.index.SortingStoredFieldsConsumer
dup
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getCodec:()Lorg/apache/lucene/codecs/Codec;
aload 3
aload 2
invokespecial org.apache.lucene.index.SortingStoredFieldsConsumer.<init>:(Lorg/apache/lucene/codecs/Codec;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;)V
putfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
18: aload 0
new org.apache.lucene.index.SortingTermVectorsConsumer
dup
aload 7
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.byteBlockAllocator:Lorg/apache/lucene/util/ByteBlockPool$Allocator;
aload 3
aload 2
aload 5
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokespecial org.apache.lucene.index.SortingTermVectorsConsumer.<init>:(Lorg/apache/lucene/util/IntBlockPool$Allocator;Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/codecs/Codec;)V
putfield org.apache.lucene.index.DefaultIndexingChain.termVectorsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
19: StackMap locals:
StackMap stack:
aload 0
new org.apache.lucene.index.FreqProxTermsWriter
dup
aload 7
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.byteBlockAllocator:Lorg/apache/lucene/util/ByteBlockPool$Allocator;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termVectorsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
invokespecial org.apache.lucene.index.FreqProxTermsWriter.<init>:(Lorg/apache/lucene/util/IntBlockPool$Allocator;Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/TermsHash;)V
putfield org.apache.lucene.index.DefaultIndexingChain.termsHash:Lorg/apache/lucene/index/TermsHash;
20: 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 21 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 21 1 indexCreatedVersionMajor I
0 21 2 segmentInfo Lorg/apache/lucene/index/SegmentInfo;
0 21 3 directory Lorg/apache/lucene/store/Directory;
0 21 4 fieldInfos Lorg/apache/lucene/index/FieldInfos$Builder;
0 21 5 indexWriterConfig Lorg/apache/lucene/index/LiveIndexWriterConfig;
0 21 6 abortingExceptionConsumer Ljava/util/function/Consumer<Ljava/lang/Throwable;>;
8 21 7 intBlockAllocator Lorg/apache/lucene/util/IntBlockPool$Allocator;
Signature: (ILorg/apache/lucene/index/SegmentInfo;Lorg/apache/lucene/store/Directory;Lorg/apache/lucene/index/FieldInfos$Builder;Lorg/apache/lucene/index/LiveIndexWriterConfig;Ljava/util/function/Consumer<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
indexCreatedVersionMajor
segmentInfo
directory
fieldInfos
indexWriterConfig
abortingExceptionConsumer
private void onAbortingException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.DefaultIndexingChain.hasHitAbortingException:Z
2: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.abortingExceptionConsumer:Ljava/util/function/Consumer;
aload 1
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 4 1 th Ljava/lang/Throwable;
MethodParameters:
Name Flags
th
private org.apache.lucene.index.LeafReader getDocValuesLeafReader();
descriptor: ()Lorg/apache/lucene/index/LeafReader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.lucene.index.DefaultIndexingChain$1
dup
aload 0
invokespecial org.apache.lucene.index.DefaultIndexingChain$1.<init>:(Lorg/apache/lucene/index/DefaultIndexingChain;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
private org.apache.lucene.index.Sorter$DocMap maybeSortSegment(org.apache.lucene.index.SegmentWriteState);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/index/Sorter$DocMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getIndexSort:()Lorg/apache/lucene/search/Sort;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.lucene.search.Sort
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getDocValuesLeafReader:()Lorg/apache/lucene/index/LeafReader;
astore 3
start local 3 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 13
7: StackMap locals: org.apache.lucene.index.LeafReader java.util.List int
StackMap stack:
aload 2
invokevirtual org.apache.lucene.search.Sort.getSort:()[Lorg/apache/lucene/search/SortField;
iload 5
aaload
astore 6
start local 6 8: aload 6
invokevirtual org.apache.lucene.search.SortField.getIndexSorter:()Lorg/apache/lucene/index/IndexSorter;
astore 7
start local 7 9: aload 7
ifnonnull 11
10: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Cannot sort index using sort field "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.apache.lucene.search.SortField org.apache.lucene.index.IndexSorter
StackMap stack:
aload 4
aload 7
aload 3
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokeinterface org.apache.lucene.index.IndexSorter.getDocComparator:(Lorg/apache/lucene/index/LeafReader;I)Lorg/apache/lucene/index/IndexSorter$DocComparator;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
aload 2
invokevirtual org.apache.lucene.search.Sort.getSort:()[Lorg/apache/lucene/search/SortField;
arraylength
if_icmplt 7
end local 5 14: new org.apache.lucene.index.Sorter
dup
aload 2
invokespecial org.apache.lucene.index.Sorter.<init>:(Lorg/apache/lucene/search/Sort;)V
astore 5
start local 5 15: aload 5
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
aload 4
iconst_0
anewarray org.apache.lucene.index.IndexSorter$DocComparator
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexSorter$DocComparator[]
invokevirtual org.apache.lucene.index.Sorter.sort:(I[Lorg/apache/lucene/index/IndexSorter$DocComparator;)Lorg/apache/lucene/index/Sorter$DocMap;
areturn
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 16 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 16 1 state Lorg/apache/lucene/index/SegmentWriteState;
1 16 2 indexSort Lorg/apache/lucene/search/Sort;
4 16 3 docValuesReader Lorg/apache/lucene/index/LeafReader;
5 16 4 comparators Ljava/util/List<Lorg/apache/lucene/index/IndexSorter$DocComparator;>;
6 14 5 i I
8 12 6 sortField Lorg/apache/lucene/search/SortField;
9 12 7 sorter Lorg/apache/lucene/index/IndexSorter;
15 16 5 sorter Lorg/apache/lucene/index/Sorter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
public org.apache.lucene.index.Sorter$DocMap flush(org.apache.lucene.index.SegmentWriteState);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/index/Sorter$DocMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.DefaultIndexingChain.maybeSortSegment:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/index/Sorter$DocMap;
astore 2
start local 2 1: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
istore 3
start local 3 2: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 3: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.DefaultIndexingChain.writeNorms:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
4: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 6
5: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
new java.lang.StringBuilder
dup
invokestatic java.lang.System.nanoTime:()J
lload 4
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 norms"
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
6: StackMap locals: org.apache.lucene.index.Sorter$DocMap int long
StackMap stack:
new org.apache.lucene.index.SegmentReadState
dup
aload 1
getfield org.apache.lucene.index.SegmentWriteState.directory:Lorg/apache/lucene/store/Directory;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
getstatic org.apache.lucene.store.IOContext.READ:Lorg/apache/lucene/store/IOContext;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentSuffix:Ljava/lang/String;
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 6
start local 6 7: invokestatic java.lang.System.nanoTime:()J
lstore 4
8: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.DefaultIndexingChain.writeDocValues:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
9: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 11
10: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
new java.lang.StringBuilder
dup
invokestatic java.lang.System.nanoTime:()J
lload 4
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 docValues"
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
11: StackMap locals: org.apache.lucene.index.SegmentReadState
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 4
12: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.DefaultIndexingChain.writePoints:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
13: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 15
14: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
new java.lang.StringBuilder
dup
invokestatic java.lang.System.nanoTime:()J
lload 4
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 points"
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
15: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 4
16: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
iload 3
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.finish:(I)V
17: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
aload 1
aload 2
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.flush:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
18: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 20
19: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
new java.lang.StringBuilder
dup
invokestatic java.lang.System.nanoTime:()J
lload 4
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 finish stored fields"
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
20: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 4
21: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 7
start local 7 22: iconst_0
istore 8
start local 8 23: goto 31
24: StackMap locals: java.util.Map int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 8
aaload
astore 9
start local 9 25: goto 29
26: StackMap locals: org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 9
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.invertState:Lorg/apache/lucene/index/FieldInvertState;
ifnull 28
27: aload 7
aload 9
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 9
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.termsHashPerField:Lorg/apache/lucene/index/TermsHashPerField;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: StackMap locals:
StackMap stack:
aload 9
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 9
29: StackMap locals:
StackMap stack:
aload 9
ifnonnull 26
end local 9 30: iinc 8 1
StackMap locals:
StackMap stack:
31: iload 8
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
if_icmplt 24
end local 8 32: aconst_null
astore 8
aconst_null
astore 9
33: aload 6
getfield org.apache.lucene.index.SegmentReadState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasNorms:()Z
ifeq 35
34: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.normsFormat:()Lorg/apache/lucene/codecs/NormsFormat;
aload 6
invokevirtual org.apache.lucene.codecs.NormsFormat.normsProducer:(Lorg/apache/lucene/index/SegmentReadState;)Lorg/apache/lucene/codecs/NormsProducer;
goto 36
35: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int long org.apache.lucene.index.SegmentReadState java.util.Map java.lang.Throwable java.lang.Throwable
StackMap stack:
aconst_null
36: StackMap locals:
StackMap stack: org.apache.lucene.codecs.NormsProducer
astore 10
start local 10 37: aconst_null
astore 11
start local 11 38: aload 10
ifnull 40
39: aload 10
invokevirtual org.apache.lucene.codecs.NormsProducer.getMergeInstance:()Lorg/apache/lucene/codecs/NormsProducer;
astore 11
40: StackMap locals: org.apache.lucene.codecs.NormsProducer org.apache.lucene.codecs.NormsProducer
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termsHash:Lorg/apache/lucene/index/TermsHash;
aload 7
aload 1
aload 2
aload 11
invokevirtual org.apache.lucene.index.TermsHash.flush:(Ljava/util/Map;Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/NormsProducer;)V
end local 11 41: aload 10
ifnull 47
aload 10
invokevirtual org.apache.lucene.codecs.NormsProducer.close:()V
goto 47
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int long org.apache.lucene.index.SegmentReadState java.util.Map java.lang.Throwable java.lang.Throwable org.apache.lucene.codecs.NormsProducer
StackMap stack: java.lang.Throwable
42: astore 8
aload 10
ifnull 43
aload 10
invokevirtual org.apache.lucene.codecs.NormsProducer.close:()V
end local 10 StackMap locals:
StackMap stack:
43: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
44: astore 9
aload 8
ifnonnull 45
aload 9
astore 8
goto 46
StackMap locals:
StackMap stack:
45: aload 8
aload 9
if_acmpeq 46
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
46: aload 8
athrow
47: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 49
48: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
new java.lang.StringBuilder
dup
invokestatic java.lang.System.nanoTime:()J
lload 4
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 postings and finish vectors"
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
49: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 4
50: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.fieldInfosFormat:()Lorg/apache/lucene/codecs/FieldInfosFormat;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.directory:Lorg/apache/lucene/store/Directory;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
ldc ""
aload 1
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
getstatic org.apache.lucene.store.IOContext.DEFAULT: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
51: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 53
52: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "IW"
new java.lang.StringBuilder
dup
invokestatic java.lang.System.nanoTime:()J
lload 4
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 fieldInfos"
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
53: StackMap locals:
StackMap stack:
aload 2
areturn
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 54 1 state Lorg/apache/lucene/index/SegmentWriteState;
1 54 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
2 54 3 maxDoc I
3 54 4 t0 J
7 54 6 readState Lorg/apache/lucene/index/SegmentReadState;
22 54 7 fieldsToFlush Ljava/util/Map<Ljava/lang/String;Lorg/apache/lucene/index/TermsHashPerField;>;
23 32 8 i I
25 30 9 perField Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
37 43 10 norms Lorg/apache/lucene/codecs/NormsProducer;
38 41 11 normsMergeInstance Lorg/apache/lucene/codecs/NormsProducer;
Exception table:
from to target type
37 41 42 any
33 44 44 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
private void writePoints(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 22
4: StackMap locals: org.apache.lucene.codecs.PointsWriter int int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 5
aaload
astore 6
start local 6 5: goto 20
6: StackMap locals: org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.pointValuesWriter:Lorg/apache/lucene/index/PointValuesWriter;
ifnull 17
7: aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDimensionCount:()I
ifne 9
8: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": field=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" has no points but wrote them"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 14
10: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.pointsFormat:()Lorg/apache/lucene/codecs/PointsFormat;
astore 7
start local 7 11: aload 7
ifnonnull 13
12: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" was indexed as points but codec does not support points"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: org.apache.lucene.codecs.PointsFormat
StackMap stack:
aload 7
aload 1
invokevirtual org.apache.lucene.codecs.PointsFormat.fieldsWriter:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/PointsWriter;
astore 3
end local 7 14: StackMap locals:
StackMap stack:
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.pointValuesWriter:Lorg/apache/lucene/index/PointValuesWriter;
aload 1
aload 2
aload 3
invokevirtual org.apache.lucene.index.PointValuesWriter.flush:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/PointsWriter;)V
15: aload 6
aconst_null
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.pointValuesWriter:Lorg/apache/lucene/index/PointValuesWriter;
16: goto 19
StackMap locals:
StackMap stack:
17: aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDimensionCount:()I
ifeq 19
18: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": field=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" has points but did not write them"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
19: StackMap locals:
StackMap stack:
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 6
20: StackMap locals:
StackMap stack:
aload 6
ifnonnull 6
end local 6 21: iinc 5 1
StackMap locals:
StackMap stack:
22: iload 5
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
if_icmplt 4
end local 5 23: aload 3
ifnull 25
24: aload 3
invokevirtual org.apache.lucene.codecs.PointsWriter.finish:()V
25: StackMap locals:
StackMap stack:
iconst_1
istore 4
26: goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 8
28: iload 4
ifeq 31
iconst_1
anewarray java.io.Closeable
dup
iconst_0
29: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
30: goto 33
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.PointsWriter int top top top java.lang.Throwable
StackMap stack:
31: iconst_1
anewarray java.io.Closeable
dup
iconst_0
32: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
33: StackMap locals:
StackMap stack:
aload 8
athrow
34: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.PointsWriter int
StackMap stack:
iload 4
ifeq 37
iconst_1
anewarray java.io.Closeable
dup
iconst_0
35: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
36: goto 39
StackMap locals:
StackMap stack:
37: iconst_1
anewarray java.io.Closeable
dup
iconst_0
38: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
39: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 40 1 state Lorg/apache/lucene/index/SegmentWriteState;
0 40 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
1 40 3 pointsWriter Lorg/apache/lucene/codecs/PointsWriter;
2 40 4 success Z
3 23 5 i I
5 21 6 perField Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
11 14 7 fmt Lorg/apache/lucene/codecs/PointsFormat;
Exception table:
from to target type
2 27 27 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
sortMap
private void writeDocValues(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 20
4: StackMap locals: org.apache.lucene.codecs.DocValuesConsumer int int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 5
aaload
astore 6
start local 6 5: goto 18
6: StackMap locals: org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnull 15
7: aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 9
8: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": field=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" has no docValues but wrote them"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
10: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.docValuesFormat:()Lorg/apache/lucene/codecs/DocValuesFormat;
astore 7
start local 7 11: aload 7
aload 1
invokevirtual org.apache.lucene.codecs.DocValuesFormat.fieldsConsumer:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/DocValuesConsumer;
astore 3
end local 7 12: StackMap locals:
StackMap stack:
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
aload 1
aload 2
aload 3
invokevirtual org.apache.lucene.index.DocValuesWriter.flush:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/DocValuesConsumer;)V
13: aload 6
aconst_null
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
14: goto 17
StackMap locals:
StackMap stack:
15: aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 17
16: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": field=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" has docValues but did not write them"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
17: StackMap locals:
StackMap stack:
aload 6
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 6
18: StackMap locals:
StackMap stack:
aload 6
ifnonnull 6
end local 6 19: iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
if_icmplt 4
end local 5 21: iconst_1
istore 4
22: goto 30
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.DocValuesConsumer int
StackMap stack: java.lang.Throwable
23: astore 8
24: iload 4
ifeq 27
iconst_1
anewarray java.io.Closeable
dup
iconst_0
25: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
26: goto 29
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.DocValuesConsumer int top top top java.lang.Throwable
StackMap stack:
27: iconst_1
anewarray java.io.Closeable
dup
iconst_0
28: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
29: StackMap locals:
StackMap stack:
aload 8
athrow
30: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.DocValuesConsumer int
StackMap stack:
iload 4
ifeq 33
iconst_1
anewarray java.io.Closeable
dup
iconst_0
31: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
32: goto 35
StackMap locals:
StackMap stack:
33: iconst_1
anewarray java.io.Closeable
dup
iconst_0
34: aload 3
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
35: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasDocValues:()Z
ifne 38
36: aload 3
ifnull 40
37: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": fieldInfos has no docValues but wrote them"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
38: StackMap locals:
StackMap stack:
aload 3
ifnonnull 40
39: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "segment="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": fieldInfos has docValues but did not wrote them"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
40: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 41 1 state Lorg/apache/lucene/index/SegmentWriteState;
0 41 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
1 41 3 dvConsumer Lorg/apache/lucene/codecs/DocValuesConsumer;
2 41 4 success Z
3 21 5 i I
5 19 6 perField Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
11 12 7 fmt Lorg/apache/lucene/codecs/DocValuesFormat;
Exception table:
from to target type
2 23 23 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
sortMap
private void writeNorms(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 1
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.hasNorms:()Z
ifeq 15
3: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.normsFormat:()Lorg/apache/lucene/codecs/NormsFormat;
astore 5
start local 5 4: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 5
aload 5
ifnonnull 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: int org.apache.lucene.codecs.NormsConsumer org.apache.lucene.codecs.NormsFormat
StackMap stack:
aload 5
aload 1
invokevirtual org.apache.lucene.codecs.NormsFormat.normsConsumer:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/NormsConsumer;
astore 4
6: aload 1
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
invokevirtual org.apache.lucene.index.FieldInfos.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int org.apache.lucene.codecs.NormsConsumer org.apache.lucene.codecs.NormsFormat top java.util.Iterator
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.FieldInfo
astore 6
start local 6 8: aload 0
aload 6
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getPerField:(Ljava/lang/String;)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 8
start local 8 9: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 10
aload 8
ifnonnull 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int org.apache.lucene.codecs.NormsConsumer org.apache.lucene.codecs.NormsFormat org.apache.lucene.index.FieldInfo java.util.Iterator org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 6
invokevirtual org.apache.lucene.index.FieldInfo.omitsNorms:()Z
ifne 14
aload 6
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 14
11: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 12
aload 8
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.norms:Lorg/apache/lucene/index/NormValuesWriter;
ifnonnull 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "field="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals:
StackMap stack:
aload 8
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.norms:Lorg/apache/lucene/index/NormValuesWriter;
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual org.apache.lucene.index.NormValuesWriter.finish:(I)V
13: aload 8
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.norms:Lorg/apache/lucene/index/NormValuesWriter;
aload 1
aload 2
aload 4
invokevirtual org.apache.lucene.index.NormValuesWriter.flush:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/NormsConsumer;)V
end local 8 end local 6 14: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int org.apache.lucene.codecs.NormsConsumer org.apache.lucene.codecs.NormsFormat top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 5 15: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int org.apache.lucene.codecs.NormsConsumer
StackMap stack:
iconst_1
istore 3
16: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 9
18: iload 3
ifeq 21
iconst_1
anewarray java.io.Closeable
dup
iconst_0
19: aload 4
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
20: goto 23
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int org.apache.lucene.codecs.NormsConsumer top top top top java.lang.Throwable
StackMap stack:
21: iconst_1
anewarray java.io.Closeable
dup
iconst_0
22: aload 4
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
23: StackMap locals:
StackMap stack:
aload 9
athrow
24: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap int org.apache.lucene.codecs.NormsConsumer
StackMap stack:
iload 3
ifeq 27
iconst_1
anewarray java.io.Closeable
dup
iconst_0
25: aload 4
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
26: goto 29
StackMap locals:
StackMap stack:
27: iconst_1
anewarray java.io.Closeable
dup
iconst_0
28: aload 4
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
29: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 30 1 state Lorg/apache/lucene/index/SegmentWriteState;
0 30 2 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
1 30 3 success Z
2 30 4 normsConsumer Lorg/apache/lucene/codecs/NormsConsumer;
4 15 5 normsFormat Lorg/apache/lucene/codecs/NormsFormat;
8 14 6 fi Lorg/apache/lucene/index/FieldInfo;
9 14 8 perField Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
Exception table:
from to target type
2 17 17 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
sortMap
public void abort();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termsHash:Lorg/apache/lucene/index/TermsHash;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic close(Lorg/apache/lucene/index/TermsHash;)Ljava/io/Closeable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/apache/lucene/index/TermsHash.abort()V (5)
()V
astore 3
start local 3 2: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.abort:()V
3: aload 3
ifnull 12
aload 3
invokeinterface java.io.Closeable.close:()V
goto 12
StackMap locals: org.apache.lucene.index.DefaultIndexingChain java.lang.Throwable java.lang.Throwable java.io.Closeable
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokeinterface java.io.Closeable.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals: org.apache.lucene.index.DefaultIndexingChain
StackMap stack: java.lang.Throwable
9: astore 5
10: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
11: aload 5
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
2 5 3 finalizer Ljava/io/Closeable;
Exception table:
from to target type
2 3 4 any
1 6 6 any
0 9 9 any
Exceptions:
throws java.io.IOException
private void rehash();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
iconst_2
imul
istore 1
start local 1 1: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 2
iload 1
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
if_icmpgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
iload 1
anewarray org.apache.lucene.index.DefaultIndexingChain$PerField
astore 2
start local 2 3: iload 1
iconst_1
isub
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 15
6: StackMap locals: org.apache.lucene.index.DefaultIndexingChain$PerField[] int int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 4
aaload
astore 5
start local 5 7: goto 13
8: StackMap locals: org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 5
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iload 3
iand
istore 6
start local 6 9: aload 5
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 7
start local 7 10: aload 5
aload 2
iload 6
aaload
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
11: aload 2
iload 6
aload 5
aastore
12: aload 7
astore 5
end local 7 end local 6 13: StackMap locals:
StackMap stack:
aload 5
ifnonnull 8
end local 5 14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
if_icmplt 6
end local 4 16: aload 0
aload 2
putfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
17: aload 0
iload 3
putfield org.apache.lucene.index.DefaultIndexingChain.hashMask:I
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
1 19 1 newHashSize I
3 19 2 newHashArray [Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
4 19 3 newHashMask I
5 16 4 j I
7 14 5 fp0 Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
9 13 6 hashPos2 I
10 13 7 nextFP0 Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
private void startStoredFields(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
iload 1
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.startDocument:(I)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.lucene.index.DefaultIndexingChain.onAbortingException:(Ljava/lang/Throwable;)V
4: aload 2
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 6 1 docID I
3 5 2 th Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
private void finishStoredFields();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.finishDocument:()V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.apache.lucene.index.DefaultIndexingChain.onAbortingException:(Ljava/lang/Throwable;)V
4: aload 1
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
3 5 1 th Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
public void processDocument(int, java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>);
descriptor: (ILjava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
dup
getfield org.apache.lucene.index.DefaultIndexingChain.nextFieldGen:J
dup2_x1
lconst_1
ladd
putfield org.apache.lucene.index.DefaultIndexingChain.nextFieldGen:J
lstore 4
start local 4 2: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termsHash:Lorg/apache/lucene/index/TermsHash;
invokevirtual org.apache.lucene.index.TermsHash.startDocument:()V
3: aload 0
iload 1
invokevirtual org.apache.lucene.index.DefaultIndexingChain.startStoredFields:(I)V
4: aload 2
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: org.apache.lucene.index.DefaultIndexingChain int java.lang.Iterable int long top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 6
start local 6 6: aload 0
iload 1
aload 6
lload 4
iload 3
invokevirtual org.apache.lucene.index.DefaultIndexingChain.processField:(ILorg/apache/lucene/index/IndexableField;JI)I
istore 3
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: goto 18
StackMap locals: org.apache.lucene.index.DefaultIndexingChain int java.lang.Iterable int long
StackMap stack: java.lang.Throwable
9: astore 8
10: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.hasHitAbortingException:Z
ifne 17
11: iconst_0
istore 9
start local 9 12: goto 15
13: StackMap locals: org.apache.lucene.index.DefaultIndexingChain int java.lang.Iterable int long top top java.lang.Throwable int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 9
aaload
iload 1
invokevirtual org.apache.lucene.index.DefaultIndexingChain$PerField.finish:(I)V
14: iinc 9 1
StackMap locals:
StackMap stack:
15: iload 9
iload 3
if_icmplt 13
end local 9 16: aload 0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.finishStoredFields:()V
17: StackMap locals:
StackMap stack:
aload 8
athrow
18: StackMap locals: org.apache.lucene.index.DefaultIndexingChain int java.lang.Iterable int long
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.hasHitAbortingException:Z
ifne 25
19: iconst_0
istore 9
start local 9 20: goto 23
21: StackMap locals: org.apache.lucene.index.DefaultIndexingChain int java.lang.Iterable int long top top top int
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 9
aaload
iload 1
invokevirtual org.apache.lucene.index.DefaultIndexingChain$PerField.finish:(I)V
22: iinc 9 1
StackMap locals:
StackMap stack:
23: iload 9
iload 3
if_icmplt 21
end local 9 24: aload 0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.finishStoredFields:()V
25: StackMap locals: org.apache.lucene.index.DefaultIndexingChain int java.lang.Iterable int long
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termsHash:Lorg/apache/lucene/index/TermsHash;
iload 1
invokevirtual org.apache.lucene.index.TermsHash.finishDocument:(I)V
26: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 6
start local 6 28: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.abortingExceptionConsumer:Ljava/util/function/Consumer;
aload 6
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
29: aload 6
athrow
end local 6 30: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 31 1 docID I
0 31 2 document Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;
1 31 3 fieldCount I
2 31 4 fieldGen J
6 7 6 field Lorg/apache/lucene/index/IndexableField;
12 16 9 i I
20 24 9 i I
28 30 6 th Ljava/lang/Throwable;
Exception table:
from to target type
4 9 9 any
25 26 27 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (ILjava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;)V
MethodParameters:
Name Flags
docID
document
private int processField(int, org.apache.lucene.index.IndexableField, long, int);
descriptor: (ILorg/apache/lucene/index/IndexableField;JI)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 2
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
astore 6
start local 6 1: aload 2
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
astore 7
start local 7 2: aconst_null
astore 8
start local 8 3: aload 7
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
ifnonnull 5
4: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "IndexOptions must not be null (field: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.String org.apache.lucene.index.IndexableFieldType org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 7
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 15
6: aload 0
aload 6
aload 7
iconst_1
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getOrAddField:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;Z)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 8
7: aload 8
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldGen:J
lload 3
lcmp
ifeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 9
start local 9 10: aload 8
iload 1
aload 2
iload 9
invokevirtual org.apache.lucene.index.DefaultIndexingChain$PerField.invert:(ILorg/apache/lucene/index/IndexableField;Z)V
11: iload 9
ifeq 16
12: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 5
iinc 5 1
aload 8
aastore
13: aload 8
lload 3
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldGen:J
end local 9 14: goto 16
15: StackMap locals:
StackMap stack:
aload 6
aload 7
invokestatic org.apache.lucene.index.DefaultIndexingChain.verifyUnIndexedFieldType:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)V
16: StackMap locals:
StackMap stack:
aload 7
invokeinterface org.apache.lucene.index.IndexableFieldType.stored:()Z
ifeq 28
17: aload 8
ifnonnull 19
18: aload 0
aload 6
aload 7
iconst_0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getOrAddField:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;Z)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 8
19: StackMap locals:
StackMap stack:
aload 7
invokeinterface org.apache.lucene.index.IndexableFieldType.stored:()Z
ifeq 28
20: aload 2
invokeinterface org.apache.lucene.index.IndexableField.stringValue:()Ljava/lang/String;
astore 9
start local 9 21: aload 9
ifnull 23
aload 9
invokevirtual java.lang.String.length:()I
getstatic org.apache.lucene.index.IndexWriter.MAX_STORED_STRING_LENGTH:I
if_icmple 23
22: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "stored field \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" is too large ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " characters) to store"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
aload 8
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 2
invokevirtual org.apache.lucene.index.StoredFieldsConsumer.writeField:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/IndexableField;)V
24: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 10
start local 10 26: aload 0
aload 10
invokevirtual org.apache.lucene.index.DefaultIndexingChain.onAbortingException:(Ljava/lang/Throwable;)V
27: aload 10
athrow
end local 10 end local 9 28: StackMap locals:
StackMap stack:
aload 7
invokeinterface org.apache.lucene.index.IndexableFieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
astore 9
start local 9 29: aload 9
ifnonnull 31
30: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "docValuesType must not be null (field: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals: org.apache.lucene.index.DocValuesType
StackMap stack:
aload 9
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 35
32: aload 8
ifnonnull 34
33: aload 0
aload 6
aload 7
iconst_0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getOrAddField:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;Z)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 8
34: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 8
aload 9
aload 2
invokevirtual org.apache.lucene.index.DefaultIndexingChain.indexDocValue:(ILorg/apache/lucene/index/DefaultIndexingChain$PerField;Lorg/apache/lucene/index/DocValuesType;Lorg/apache/lucene/index/IndexableField;)V
35: StackMap locals:
StackMap stack:
aload 7
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDimensionCount:()I
ifeq 39
36: aload 8
ifnonnull 38
37: aload 0
aload 6
aload 7
iconst_0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getOrAddField:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;Z)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 8
38: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 8
aload 2
invokevirtual org.apache.lucene.index.DefaultIndexingChain.indexPoint:(ILorg/apache/lucene/index/DefaultIndexingChain$PerField;Lorg/apache/lucene/index/IndexableField;)V
39: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 9 end local 8 end local 7 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 40 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 40 1 docID I
0 40 2 field Lorg/apache/lucene/index/IndexableField;
0 40 3 fieldGen J
0 40 5 fieldCount I
1 40 6 fieldName Ljava/lang/String;
2 40 7 fieldType Lorg/apache/lucene/index/IndexableFieldType;
3 40 8 fp Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
10 14 9 first Z
21 28 9 value Ljava/lang/String;
26 28 10 th Ljava/lang/Throwable;
29 40 9 dvType Lorg/apache/lucene/index/DocValuesType;
Exception table:
from to target type
23 24 25 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
field
fieldGen
fieldCount
private static void verifyUnIndexedFieldType(java.lang.String, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectors:()Z
ifeq 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot store term vectors for a field that is not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPositions:()Z
ifeq 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot store term vector positions for a field that is not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorOffsets:()Z
ifeq 12
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot store term vector offsets for a field that is not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPayloads:()Z
ifeq 16
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot store term vector payloads for a field that is not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 name Ljava/lang/String;
0 17 1 ft Lorg/apache/lucene/index/IndexableFieldType;
MethodParameters:
Name Flags
name
ft
private void indexPoint(int, org.apache.lucene.index.DefaultIndexingChain$PerField, org.apache.lucene.index.IndexableField);
descriptor: (ILorg/apache/lucene/index/DefaultIndexingChain$PerField;Lorg/apache/lucene/index/IndexableField;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDimensionCount:()I
istore 4
start local 4 1: aload 3
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.pointIndexDimensionCount:()I
istore 5
start local 5 2: aload 3
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.pointNumBytes:()I
istore 6
start local 6 3: aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDimensionCount:()I
ifne 5
4: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.number:I
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
iload 4
iload 5
iload 6
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.setDimensions:(ILjava/lang/String;III)V
5: StackMap locals: int int int
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
iload 4
iload 5
iload 6
invokevirtual org.apache.lucene.index.FieldInfo.setPointDimensions:(III)V
6: aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.pointValuesWriter:Lorg/apache/lucene/index/PointValuesWriter;
ifnonnull 8
7: aload 2
new org.apache.lucene.index.PointValuesWriter
dup
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.byteBlockAllocator:Lorg/apache/lucene/util/ByteBlockPool$Allocator;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokespecial org.apache.lucene.index.PointValuesWriter.<init>:(Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/FieldInfo;)V
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.pointValuesWriter:Lorg/apache/lucene/index/PointValuesWriter;
8: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.pointValuesWriter:Lorg/apache/lucene/index/PointValuesWriter;
iload 1
aload 3
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.PointValuesWriter.addPackedValue:(ILorg/apache/lucene/util/BytesRef;)V
9: return
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 10 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 10 1 docID I
0 10 2 fp Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
0 10 3 field Lorg/apache/lucene/index/IndexableField;
1 10 4 pointDimensionCount I
2 10 5 pointIndexDimensionCount I
3 10 6 dimensionNumBytes I
MethodParameters:
Name Flags
docID
fp
field
private void validateIndexSortDVType(org.apache.lucene.search.Sort, java.lang.String, org.apache.lucene.index.DocValuesType);
descriptor: (Lorg/apache/lucene/search/Sort;Ljava/lang/String;Lorg/apache/lucene/index/DocValuesType;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.apache.lucene.search.Sort.getSort:()[Lorg/apache/lucene/search/SortField;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.search.Sort java.lang.String org.apache.lucene.index.DocValuesType top int int org.apache.lucene.search.SortField[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: aload 4
invokevirtual org.apache.lucene.search.SortField.getIndexSorter:()Lorg/apache/lucene/index/IndexSorter;
astore 8
start local 8 3: aload 8
ifnonnull 5
4: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot sort index with sort order "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.search.Sort java.lang.String org.apache.lucene.index.DocValuesType org.apache.lucene.search.SortField int int org.apache.lucene.search.SortField[] org.apache.lucene.index.IndexSorter
StackMap stack:
aload 8
new org.apache.lucene.index.DefaultIndexingChain$2
dup
aload 0
aload 2
aload 3
aload 4
invokespecial org.apache.lucene.index.DefaultIndexingChain$2.<init>:(Lorg/apache/lucene/index/DefaultIndexingChain;Ljava/lang/String;Lorg/apache/lucene/index/DocValuesType;Lorg/apache/lucene/search/SortField;)V
6: iconst_0
7: invokeinterface org.apache.lucene.index.IndexSorter.getDocComparator:(Lorg/apache/lucene/index/LeafReader;I)Lorg/apache/lucene/index/IndexSorter$DocComparator;
pop
end local 8 end local 4 8: iinc 5 1
StackMap locals: org.apache.lucene.index.DefaultIndexingChain org.apache.lucene.search.Sort java.lang.String org.apache.lucene.index.DocValuesType top int int org.apache.lucene.search.SortField[]
StackMap stack:
9: iload 5
iload 6
if_icmplt 1
10: return
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/DefaultIndexingChain;
0 11 1 indexSort Lorg/apache/lucene/search/Sort;
0 11 2 fieldToValidate Ljava/lang/String;
0 11 3 dvType Lorg/apache/lucene/index/DocValuesType;
2 8 4 sortField Lorg/apache/lucene/search/SortField;
3 8 8 sorter Lorg/apache/lucene/index/IndexSorter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
indexSort
fieldToValidate
dvType
private void indexDocValue(int, org.apache.lucene.index.DefaultIndexingChain$PerField, org.apache.lucene.index.DocValuesType, org.apache.lucene.index.IndexableField);
descriptor: (ILorg/apache/lucene/index/DefaultIndexingChain$PerField;Lorg/apache/lucene/index/DocValuesType;Lorg/apache/lucene/index/IndexableField;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 5
1: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getIndexSort:()Lorg/apache/lucene/search/Sort;
ifnull 4
2: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getIndexSort:()Lorg/apache/lucene/search/Sort;
astore 5
start local 5 3: aload 0
aload 5
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 3
invokevirtual org.apache.lucene.index.DefaultIndexingChain.validateIndexSortDVType:(Lorg/apache/lucene/search/Sort;Ljava/lang/String;Lorg/apache/lucene/index/DocValuesType;)V
end local 5 4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.number:I
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 3
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.setDocValuesType:(ILjava/lang/String;Lorg/apache/lucene/index/DocValuesType;)V
5: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 3
invokevirtual org.apache.lucene.index.FieldInfo.setDocValuesType:(Lorg/apache/lucene/index/DocValuesType;)V
6: invokestatic org.apache.lucene.index.DefaultIndexingChain.$SWITCH_TABLE$org$apache$lucene$index$DocValuesType:()[I
aload 3
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iaload
tableswitch { // 2 - 6
2: 7
3: 13
4: 17
5: 21
6: 25
default: 29
}
7: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnonnull 9
8: aload 2
new org.apache.lucene.index.NumericDocValuesWriter
dup
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.index.NumericDocValuesWriter.<init>:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
9: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.lucene.index.IndexableField.numericValue:()Ljava/lang/Number;
ifnonnull 11
10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": null value not allowed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
checkcast org.apache.lucene.index.NumericDocValuesWriter
iload 1
aload 4
invokeinterface org.apache.lucene.index.IndexableField.numericValue:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
invokevirtual org.apache.lucene.index.NumericDocValuesWriter.addValue:(IJ)V
12: goto 30
13: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnonnull 15
14: aload 2
new org.apache.lucene.index.BinaryDocValuesWriter
dup
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.index.BinaryDocValuesWriter.<init>:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
15: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
checkcast org.apache.lucene.index.BinaryDocValuesWriter
iload 1
aload 4
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.BinaryDocValuesWriter.addValue:(ILorg/apache/lucene/util/BytesRef;)V
16: goto 30
17: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnonnull 19
18: aload 2
new org.apache.lucene.index.SortedDocValuesWriter
dup
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.index.SortedDocValuesWriter.<init>:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
19: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
checkcast org.apache.lucene.index.SortedDocValuesWriter
iload 1
aload 4
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.SortedDocValuesWriter.addValue:(ILorg/apache/lucene/util/BytesRef;)V
20: goto 30
21: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnonnull 23
22: aload 2
new org.apache.lucene.index.SortedNumericDocValuesWriter
dup
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.index.SortedNumericDocValuesWriter.<init>:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
23: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
checkcast org.apache.lucene.index.SortedNumericDocValuesWriter
iload 1
aload 4
invokeinterface org.apache.lucene.index.IndexableField.numericValue:()Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
invokevirtual org.apache.lucene.index.SortedNumericDocValuesWriter.addValue:(IJ)V
24: goto 30
25: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnonnull 27
26: aload 2
new org.apache.lucene.index.SortedSetDocValuesWriter
dup
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.index.SortedSetDocValuesWriter.<init>:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/Counter;)V
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
27: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
checkcast org.apache.lucene.index.SortedSetDocValuesWriter
iload 1
aload 4
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.SortedSetDocValuesWriter.addValue:(ILorg/apache/lucene/util/BytesRef;)V
28: goto 30
29: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unrecognized DocValues.Type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
30: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 31 1 docID I
0 31 2 fp Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
0 31 3 dvType Lorg/apache/lucene/index/DocValuesType;
0 31 4 field Lorg/apache/lucene/index/IndexableField;
3 4 5 indexSort Lorg/apache/lucene/search/Sort;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
docID
fp
dvType
field
private org.apache.lucene.index.DefaultIndexingChain$PerField getPerField(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.hashMask:I
iand
istore 2
start local 2 1: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 2
aaload
astore 3
start local 3 2: goto 4
3: StackMap locals: int org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 3
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 3
4: StackMap locals:
StackMap stack:
aload 3
ifnull 5
aload 3
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
5: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 6 1 name Ljava/lang/String;
1 6 2 hashPos I
2 6 3 fp Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
MethodParameters:
Name Flags
name
private org.apache.lucene.index.DefaultIndexingChain$PerField getOrAddField(java.lang.String, org.apache.lucene.index.IndexableFieldType, boolean);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;Z)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.hashMask:I
iand
istore 4
start local 4 1: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 4
aaload
astore 5
start local 5 2: goto 4
3: StackMap locals: int org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 5
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 5
4: StackMap locals:
StackMap stack:
aload 5
ifnull 5
aload 5
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
5: StackMap locals:
StackMap stack:
aload 5
ifnonnull 24
6: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
aload 1
invokevirtual org.apache.lucene.index.FieldInfos$Builder.getOrAdd:(Ljava/lang/String;)Lorg/apache/lucene/index/FieldInfo;
astore 6
start local 6 7: aload 0
aload 6
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.DefaultIndexingChain.initIndexOptions:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/IndexOptions;)V
8: aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.getAttributes:()Ljava/util/Map;
astore 7
start local 7 9: aload 7
ifnull 11
10: aload 7
aload 6
invokedynamic accept(Lorg/apache/lucene/index/FieldInfo;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/apache/lucene/index/DefaultIndexingChain.lambda$1(Lorg/apache/lucene/index/FieldInfo;Ljava/lang/String;Ljava/lang/String;)V (6)
(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
11: StackMap locals: org.apache.lucene.index.FieldInfo java.util.Map
StackMap stack:
new org.apache.lucene.index.DefaultIndexingChain$PerField
dup
aload 0
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexCreatedVersionMajor:I
aload 6
iload 3
12: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getSimilarity:()Lorg/apache/lucene/search/similarities/Similarity;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getInfoStream:()Lorg/apache/lucene/util/InfoStream;
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getAnalyzer:()Lorg/apache/lucene/analysis/Analyzer;
13: invokespecial org.apache.lucene.index.DefaultIndexingChain$PerField.<init>:(Lorg/apache/lucene/index/DefaultIndexingChain;ILorg/apache/lucene/index/FieldInfo;ZLorg/apache/lucene/search/similarities/Similarity;Lorg/apache/lucene/util/InfoStream;Lorg/apache/lucene/analysis/Analyzer;)V
astore 5
14: aload 5
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 4
aaload
putfield org.apache.lucene.index.DefaultIndexingChain$PerField.next:Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
15: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iload 4
aload 5
aastore
16: aload 0
dup
getfield org.apache.lucene.index.DefaultIndexingChain.totalFieldCount:I
iconst_1
iadd
putfield org.apache.lucene.index.DefaultIndexingChain.totalFieldCount:I
17: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.totalFieldCount:I
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldHash:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
iconst_2
idiv
if_icmplt 19
18: aload 0
invokevirtual org.apache.lucene.index.DefaultIndexingChain.rehash:()V
19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.totalFieldCount:I
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
if_icmple 27
20: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.totalFieldCount:I
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
anewarray org.apache.lucene.index.DefaultIndexingChain$PerField
astore 8
start local 8 21: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
iconst_0
aload 8
iconst_0
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
22: aload 0
aload 8
putfield org.apache.lucene.index.DefaultIndexingChain.fields:[Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
end local 8 end local 7 end local 6 23: goto 27
StackMap locals:
StackMap stack:
24: iload 3
ifeq 27
aload 5
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.invertState:Lorg/apache/lucene/index/FieldInvertState;
ifnonnull 27
25: aload 0
aload 5
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.DefaultIndexingChain.initIndexOptions:(Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/IndexOptions;)V
26: aload 5
invokevirtual org.apache.lucene.index.DefaultIndexingChain$PerField.setInvertState:()V
27: StackMap locals:
StackMap stack:
aload 5
areturn
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 28 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 28 1 name Ljava/lang/String;
0 28 2 fieldType Lorg/apache/lucene/index/IndexableFieldType;
0 28 3 invert Z
1 28 4 hashPos I
2 28 5 fp Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
7 23 6 fi Lorg/apache/lucene/index/FieldInfo;
9 23 7 attributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
21 23 8 newFields [Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
MethodParameters:
Name Flags
name
fieldType
invert
private void initIndexOptions(org.apache.lucene.index.FieldInfo, org.apache.lucene.index.IndexOptions);
descriptor: (Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/IndexOptions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.index.DefaultIndexingChain.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.fieldInfos:Lorg/apache/lucene/index/FieldInfos$Builder;
getfield org.apache.lucene.index.FieldInfos$Builder.globalFieldNumbers:Lorg/apache/lucene/index/FieldInfos$FieldNumbers;
aload 1
getfield org.apache.lucene.index.FieldInfo.number:I
aload 1
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 2
invokevirtual org.apache.lucene.index.FieldInfos$FieldNumbers.setIndexOptions:(ILjava/lang/String;Lorg/apache/lucene/index/IndexOptions;)V
2: aload 1
aload 2
invokevirtual org.apache.lucene.index.FieldInfo.setIndexOptions:(Lorg/apache/lucene/index/IndexOptions;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 4 1 info Lorg/apache/lucene/index/FieldInfo;
0 4 2 indexOptions Lorg/apache/lucene/index/IndexOptions;
MethodParameters:
Name Flags
info
indexOptions
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.bytesUsed:Lorg/apache/lucene/util/Counter;
invokevirtual org.apache.lucene.util.Counter.get:()J
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
getfield org.apache.lucene.index.StoredFieldsConsumer.accountable:Lorg/apache/lucene/util/Accountable;
invokeinterface org.apache.lucene.util.Accountable.ramBytesUsed:()J
ladd
1: aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termVectorsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
getfield org.apache.lucene.index.TermVectorsConsumer.accountable:Lorg/apache/lucene/util/Accountable;
invokeinterface org.apache.lucene.util.Accountable.ramBytesUsed:()J
2: ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
public java.util.Collection<org.apache.lucene.util.Accountable> getChildResources();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_2
anewarray org.apache.lucene.util.Accountable
dup
iconst_0
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.storedFieldsConsumer:Lorg/apache/lucene/index/StoredFieldsConsumer;
getfield org.apache.lucene.index.StoredFieldsConsumer.accountable:Lorg/apache/lucene/util/Accountable;
aastore
dup
iconst_1
aload 0
getfield org.apache.lucene.index.DefaultIndexingChain.termVectorsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
getfield org.apache.lucene.index.TermVectorsConsumer.accountable:Lorg/apache/lucene/util/Accountable;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
Signature: ()Ljava/util/Collection<Lorg/apache/lucene/util/Accountable;>;
org.apache.lucene.search.DocIdSetIterator getHasDocValues(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/search/DocIdSetIterator;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.index.DefaultIndexingChain.getPerField:(Ljava/lang/String;)Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
astore 2
start local 2 1: aload 2
ifnull 6
2: aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
ifnull 6
3: aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 5
4: aconst_null
areturn
5: StackMap locals: org.apache.lucene.index.DefaultIndexingChain$PerField
StackMap stack:
aload 2
getfield org.apache.lucene.index.DefaultIndexingChain$PerField.docValuesWriter:Lorg/apache/lucene/index/DocValuesWriter;
invokevirtual org.apache.lucene.index.DocValuesWriter.getDocValues:()Lorg/apache/lucene/search/DocIdSetIterator;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/DefaultIndexingChain;
0 7 1 field Ljava/lang/String;
1 7 2 perField Lorg/apache/lucene/index/DefaultIndexingChain$PerField;
MethodParameters:
Name Flags
field
static int[] $SWITCH_TABLE$org$apache$lucene$index$DocValuesType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.lucene.index.DefaultIndexingChain.$SWITCH_TABLE$org$apache$lucene$index$DocValuesType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.lucene.index.DocValuesType.values:()[Lorg/apache/lucene/index/DocValuesType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.lucene.index.DocValuesType.BINARY:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.lucene.index.DocValuesType.NUMERIC:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.lucene.index.DocValuesType.SORTED:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.apache.lucene.index.DocValuesType.SORTED_NUMERIC:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.apache.lucene.index.DocValuesType.SORTED_SET:Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic org.apache.lucene.index.DefaultIndexingChain.$SWITCH_TABLE$org$apache$lucene$index$DocValuesType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
private static void lambda$1(org.apache.lucene.index.FieldInfo, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/lucene/index/FieldInfo;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.FieldInfo.putAttribute:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 k Ljava/lang/String;
0 1 2 v Ljava/lang/String;
}
SourceFile: "DefaultIndexingChain.java"
NestMembers:
org.apache.lucene.index.DefaultIndexingChain$1 org.apache.lucene.index.DefaultIndexingChain$2 org.apache.lucene.index.DefaultIndexingChain$IntBlockAllocator org.apache.lucene.index.DefaultIndexingChain$PerField
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.apache.lucene.index.DefaultIndexingChain$1
org.apache.lucene.index.DefaultIndexingChain$2
private IntBlockAllocator = org.apache.lucene.index.DefaultIndexingChain$IntBlockAllocator of org.apache.lucene.index.DefaultIndexingChain
private final PerField = org.apache.lucene.index.DefaultIndexingChain$PerField of org.apache.lucene.index.DefaultIndexingChain
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 abstract DocComparator = org.apache.lucene.index.IndexSorter$DocComparator of org.apache.lucene.index.IndexSorter
abstract DocMap = org.apache.lucene.index.Sorter$DocMap of org.apache.lucene.index.Sorter
public abstract Allocator = org.apache.lucene.util.ByteBlockPool$Allocator of org.apache.lucene.util.ByteBlockPool
public DirectTrackingAllocator = org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator of org.apache.lucene.util.ByteBlockPool
public abstract Allocator = org.apache.lucene.util.IntBlockPool$Allocator of org.apache.lucene.util.IntBlockPool