public class org.apache.lucene.index.memory.MemoryIndex
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.index.memory.MemoryIndex
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private final java.util.SortedMap<java.lang.String, org.apache.lucene.index.memory.MemoryIndex$Info> fields;
descriptor: Ljava/util/SortedMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/SortedMap<Ljava/lang/String;Lorg/apache/lucene/index/memory/MemoryIndex$Info;>;
private final boolean storeOffsets;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean storePayloads;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.ByteBlockPool byteBlockPool;
descriptor: Lorg/apache/lucene/util/ByteBlockPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.IntBlockPool intBlockPool;
descriptor: Lorg/apache/lucene/util/IntBlockPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.IntBlockPool$SliceWriter postingsWriter;
descriptor: Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.BytesRefArray payloadsBytesRefs;
descriptor: Lorg/apache/lucene/util/BytesRefArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.lucene.util.Counter bytesUsed;
descriptor: Lorg/apache/lucene/util/Counter;
flags: (0x0002) ACC_PRIVATE
private boolean frozen;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.search.similarities.Similarity normSimilarity;
descriptor: Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.document.FieldType defaultFieldType;
descriptor: Lorg/apache/lucene/document/FieldType;
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/memory/MemoryIndex;
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.memory.MemoryIndex.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial org.apache.lucene.index.memory.MemoryIndex.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
invokespecial org.apache.lucene.index.memory.MemoryIndex.<init>:(ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 2 1 storeOffsets Z
MethodParameters:
Name Flags
storeOffsets
public void <init>(boolean, boolean);
descriptor: (ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
lconst_0
invokespecial org.apache.lucene.index.memory.MemoryIndex.<init>:(ZZJ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 2 1 storeOffsets Z
0 2 2 storePayloads Z
MethodParameters:
Name Flags
storeOffsets
storePayloads
void <init>(boolean, boolean, long);
descriptor: (ZZJ)V
flags: (0x0000)
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
2: aload 0
iconst_0
putfield org.apache.lucene.index.memory.MemoryIndex.frozen:Z
3: aload 0
invokestatic org.apache.lucene.search.IndexSearcher.getDefaultSimilarity:()Lorg/apache/lucene/search/similarities/Similarity;
putfield org.apache.lucene.index.memory.MemoryIndex.normSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
4: aload 0
new org.apache.lucene.document.FieldType
dup
invokespecial org.apache.lucene.document.FieldType.<init>:()V
putfield org.apache.lucene.index.memory.MemoryIndex.defaultFieldType:Lorg/apache/lucene/document/FieldType;
5: aload 0
iload 1
putfield org.apache.lucene.index.memory.MemoryIndex.storeOffsets:Z
6: aload 0
iload 2
putfield org.apache.lucene.index.memory.MemoryIndex.storePayloads:Z
7: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.defaultFieldType:Lorg/apache/lucene/document/FieldType;
iload 1
ifeq 9
8: getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS:Lorg/apache/lucene/index/IndexOptions;
goto 10
StackMap locals: org.apache.lucene.index.memory.MemoryIndex int int long
StackMap stack: org.apache.lucene.document.FieldType
9: getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS:Lorg/apache/lucene/index/IndexOptions;
10: StackMap locals: org.apache.lucene.index.memory.MemoryIndex int int long
StackMap stack: org.apache.lucene.document.FieldType org.apache.lucene.index.IndexOptions
invokevirtual org.apache.lucene.document.FieldType.setIndexOptions:(Lorg/apache/lucene/index/IndexOptions;)V
11: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.defaultFieldType:Lorg/apache/lucene/document/FieldType;
iconst_1
invokevirtual org.apache.lucene.document.FieldType.setStoreTermVectors:(Z)V
12: aload 0
invokestatic org.apache.lucene.util.Counter.newCounter:()Lorg/apache/lucene/util/Counter;
putfield org.apache.lucene.index.memory.MemoryIndex.bytesUsed:Lorg/apache/lucene/util/Counter;
13: lload 3
ldc 2
ldiv
ldc 32768
ldiv
l2i
istore 5
start local 5 14: lload 3
iload 5
ldc 32768
imul
i2l
lsub
ldc 32768
ldiv
l2i
istore 6
start local 6 15: getstatic org.apache.lucene.index.memory.MemoryIndex.$assertionsDisabled:Z
ifne 16
iload 5
ldc 32768
imul
iload 6
sipush 8192
imul
iconst_4
imul
iadd
i2l
lload 3
lcmp
ifle 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals: int int
StackMap stack:
aload 0
new org.apache.lucene.util.ByteBlockPool
dup
new org.apache.lucene.util.RecyclingByteBlockAllocator
dup
ldc 32768
iload 5
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.util.RecyclingByteBlockAllocator.<init>:(IILorg/apache/lucene/util/Counter;)V
invokespecial org.apache.lucene.util.ByteBlockPool.<init>:(Lorg/apache/lucene/util/ByteBlockPool$Allocator;)V
putfield org.apache.lucene.index.memory.MemoryIndex.byteBlockPool:Lorg/apache/lucene/util/ByteBlockPool;
17: aload 0
new org.apache.lucene.util.IntBlockPool
dup
new org.apache.lucene.util.RecyclingIntBlockAllocator
dup
sipush 8192
iload 6
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.util.RecyclingIntBlockAllocator.<init>:(IILorg/apache/lucene/util/Counter;)V
invokespecial org.apache.lucene.util.IntBlockPool.<init>:(Lorg/apache/lucene/util/IntBlockPool$Allocator;)V
putfield org.apache.lucene.index.memory.MemoryIndex.intBlockPool:Lorg/apache/lucene/util/IntBlockPool;
18: aload 0
new org.apache.lucene.util.IntBlockPool$SliceWriter
dup
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.intBlockPool:Lorg/apache/lucene/util/IntBlockPool;
invokespecial org.apache.lucene.util.IntBlockPool$SliceWriter.<init>:(Lorg/apache/lucene/util/IntBlockPool;)V
putfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
19: aload 0
iload 2
ifeq 20
new org.apache.lucene.util.BytesRefArray
dup
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.bytesUsed:Lorg/apache/lucene/util/Counter;
invokespecial org.apache.lucene.util.BytesRefArray.<init>:(Lorg/apache/lucene/util/Counter;)V
goto 21
StackMap locals:
StackMap stack: org.apache.lucene.index.memory.MemoryIndex
20: aconst_null
StackMap locals: org.apache.lucene.index.memory.MemoryIndex int int long int int
StackMap stack: org.apache.lucene.index.memory.MemoryIndex org.apache.lucene.util.BytesRefArray
21: putfield org.apache.lucene.index.memory.MemoryIndex.payloadsBytesRefs:Lorg/apache/lucene/util/BytesRefArray;
22: return
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 23 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 23 1 storeOffsets Z
0 23 2 storePayloads Z
0 23 3 maxReusedBytes J
14 23 5 maxBufferedByteBlocks I
15 23 6 maxBufferedIntBlocks I
MethodParameters:
Name Flags
storeOffsets
storePayloads
maxReusedBytes
public void addField(java.lang.String, java.lang.String, org.apache.lucene.analysis.Analyzer);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/lucene/analysis/Analyzer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "fieldName must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "text must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 3
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "analyzer must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 2
invokevirtual org.apache.lucene.analysis.Analyzer.tokenStream:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/lucene/analysis/TokenStream;
astore 4
start local 4 7: aload 0
aload 0
aload 1
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.defaultFieldType:Lorg/apache/lucene/document/FieldType;
invokevirtual org.apache.lucene.index.memory.MemoryIndex.getInfo:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)Lorg/apache/lucene/index/memory/MemoryIndex$Info;
aload 4
8: aload 3
aload 1
invokevirtual org.apache.lucene.analysis.Analyzer.getPositionIncrementGap:(Ljava/lang/String;)I
aload 3
aload 1
invokevirtual org.apache.lucene.analysis.Analyzer.getOffsetGap:(Ljava/lang/String;)I
9: invokevirtual org.apache.lucene.index.memory.MemoryIndex.storeTerms:(Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/analysis/TokenStream;II)V
10: return
end local 4 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/memory/MemoryIndex;
0 11 1 fieldName Ljava/lang/String;
0 11 2 text Ljava/lang/String;
0 11 3 analyzer Lorg/apache/lucene/analysis/Analyzer;
7 11 4 stream Lorg/apache/lucene/analysis/TokenStream;
MethodParameters:
Name Flags
fieldName
text
analyzer
public static org.apache.lucene.index.memory.MemoryIndex fromDocument(java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>, org.apache.lucene.analysis.Analyzer);
descriptor: (Ljava/lang/Iterable;Lorg/apache/lucene/analysis/Analyzer;)Lorg/apache/lucene/index/memory/MemoryIndex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
iconst_0
lconst_0
invokestatic org.apache.lucene.index.memory.MemoryIndex.fromDocument:(Ljava/lang/Iterable;Lorg/apache/lucene/analysis/Analyzer;ZZJ)Lorg/apache/lucene/index/memory/MemoryIndex;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 document Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;
0 1 1 analyzer Lorg/apache/lucene/analysis/Analyzer;
Signature: (Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;Lorg/apache/lucene/analysis/Analyzer;)Lorg/apache/lucene/index/memory/MemoryIndex;
MethodParameters:
Name Flags
document
analyzer
public static org.apache.lucene.index.memory.MemoryIndex fromDocument(java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>, org.apache.lucene.analysis.Analyzer, boolean, boolean);
descriptor: (Ljava/lang/Iterable;Lorg/apache/lucene/analysis/Analyzer;ZZ)Lorg/apache/lucene/index/memory/MemoryIndex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
lconst_0
invokestatic org.apache.lucene.index.memory.MemoryIndex.fromDocument:(Ljava/lang/Iterable;Lorg/apache/lucene/analysis/Analyzer;ZZJ)Lorg/apache/lucene/index/memory/MemoryIndex;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 document Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;
0 1 1 analyzer Lorg/apache/lucene/analysis/Analyzer;
0 1 2 storeOffsets Z
0 1 3 storePayloads Z
Signature: (Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;Lorg/apache/lucene/analysis/Analyzer;ZZ)Lorg/apache/lucene/index/memory/MemoryIndex;
MethodParameters:
Name Flags
document
analyzer
storeOffsets
storePayloads
public static org.apache.lucene.index.memory.MemoryIndex fromDocument(java.lang.Iterable<? extends org.apache.lucene.index.IndexableField>, org.apache.lucene.analysis.Analyzer, boolean, boolean, long);
descriptor: (Ljava/lang/Iterable;Lorg/apache/lucene/analysis/Analyzer;ZZJ)Lorg/apache/lucene/index/memory/MemoryIndex;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.lucene.index.memory.MemoryIndex
dup
iload 2
iload 3
lload 4
invokespecial org.apache.lucene.index.memory.MemoryIndex.<init>:(ZZJ)V
astore 6
start local 6 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 8
goto 4
StackMap locals: java.lang.Iterable org.apache.lucene.analysis.Analyzer int int long org.apache.lucene.index.memory.MemoryIndex top java.util.Iterator
StackMap stack:
2: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.IndexableField
astore 7
start local 7 3: aload 6
aload 7
aload 1
invokevirtual org.apache.lucene.index.memory.MemoryIndex.addField:(Lorg/apache/lucene/index/IndexableField;Lorg/apache/lucene/analysis/Analyzer;)V
end local 7 4: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 6
areturn
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 6 0 document Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;
0 6 1 analyzer Lorg/apache/lucene/analysis/Analyzer;
0 6 2 storeOffsets Z
0 6 3 storePayloads Z
0 6 4 maxReusedBytes J
1 6 6 mi Lorg/apache/lucene/index/memory/MemoryIndex;
3 4 7 field Lorg/apache/lucene/index/IndexableField;
Signature: (Ljava/lang/Iterable<+Lorg/apache/lucene/index/IndexableField;>;Lorg/apache/lucene/analysis/Analyzer;ZZJ)Lorg/apache/lucene/index/memory/MemoryIndex;
MethodParameters:
Name Flags
document
analyzer
storeOffsets
storePayloads
maxReusedBytes
public <T> org.apache.lucene.analysis.TokenStream keywordTokenStream(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)Lorg/apache/lucene/analysis/TokenStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "keywords must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.lucene.index.memory.MemoryIndex$1
dup
aload 0
aload 1
invokespecial org.apache.lucene.index.memory.MemoryIndex$1.<init>:(Lorg/apache/lucene/index/memory/MemoryIndex;Ljava/util/Collection;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 3 1 keywords Ljava/util/Collection<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Collection<TT;>;)Lorg/apache/lucene/analysis/TokenStream;
MethodParameters:
Name Flags
keywords final
public void addField(org.apache.lucene.index.IndexableField, org.apache.lucene.analysis.Analyzer);
descriptor: (Lorg/apache/lucene/index/IndexableField;Lorg/apache/lucene/analysis/Analyzer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokevirtual org.apache.lucene.index.memory.MemoryIndex.getInfo:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)Lorg/apache/lucene/index/memory/MemoryIndex$Info;
astore 3
start local 3 1: aload 2
ifnull 6
2: aload 2
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual org.apache.lucene.analysis.Analyzer.getOffsetGap:(Ljava/lang/String;)I
istore 4
start local 4 3: aload 1
aload 2
aconst_null
invokeinterface org.apache.lucene.index.IndexableField.tokenStream:(Lorg/apache/lucene/analysis/Analyzer;Lorg/apache/lucene/analysis/TokenStream;)Lorg/apache/lucene/analysis/TokenStream;
astore 5
start local 5 4: aload 2
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual org.apache.lucene.analysis.Analyzer.getPositionIncrementGap:(Ljava/lang/String;)I
istore 6
start local 6 5: goto 9
end local 6 end local 5 end local 4 6: StackMap locals: org.apache.lucene.index.memory.MemoryIndex$Info
StackMap stack:
iconst_1
istore 4
start local 4 7: aload 1
aconst_null
aconst_null
invokeinterface org.apache.lucene.index.IndexableField.tokenStream:(Lorg/apache/lucene/analysis/Analyzer;Lorg/apache/lucene/analysis/TokenStream;)Lorg/apache/lucene/analysis/TokenStream;
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: StackMap locals: int org.apache.lucene.analysis.TokenStream int
StackMap stack:
aload 5
ifnull 11
10: aload 0
aload 3
aload 5
iload 6
iload 4
invokevirtual org.apache.lucene.index.memory.MemoryIndex.storeTerms:(Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/analysis/TokenStream;II)V
11: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
astore 7
start local 7 12: invokestatic org.apache.lucene.index.memory.MemoryIndex.$SWITCH_TABLE$org$apache$lucene$index$DocValuesType:()[I
aload 7
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 13
2: 17
3: 15
4: 15
5: 17
6: 15
default: 19
}
13: StackMap locals: org.apache.lucene.index.DocValuesType
StackMap stack:
aconst_null
astore 8
start local 8 14: goto 20
end local 8 15: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
astore 8
start local 8 16: goto 20
end local 8 17: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.numericValue:()Ljava/lang/Number;
astore 8
start local 8 18: goto 20
end local 8 19: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "unknown doc values type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
start local 8 20: StackMap locals: java.lang.Object
StackMap stack:
aload 8
ifnull 22
21: aload 0
aload 3
aload 7
aload 8
invokevirtual org.apache.lucene.index.memory.MemoryIndex.storeDocValues:(Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/index/DocValuesType;Ljava/lang/Object;)V
22: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDataDimensionCount:()I
ifle 24
23: aload 0
aload 3
aload 1
invokeinterface org.apache.lucene.index.IndexableField.binaryValue:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.memory.MemoryIndex.storePointValues:(Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/util/BytesRef;)V
24: StackMap locals:
StackMap stack:
return
end local 8 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 25 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 25 1 field Lorg/apache/lucene/index/IndexableField;
0 25 2 analyzer Lorg/apache/lucene/analysis/Analyzer;
1 25 3 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
3 6 4 offsetGap I
7 25 4 offsetGap I
4 6 5 tokenStream Lorg/apache/lucene/analysis/TokenStream;
8 25 5 tokenStream Lorg/apache/lucene/analysis/TokenStream;
5 6 6 positionIncrementGap I
9 25 6 positionIncrementGap I
12 25 7 docValuesType Lorg/apache/lucene/index/DocValuesType;
14 15 8 docValuesValue Ljava/lang/Object;
16 17 8 docValuesValue Ljava/lang/Object;
18 19 8 docValuesValue Ljava/lang/Object;
20 25 8 docValuesValue Ljava/lang/Object;
MethodParameters:
Name Flags
field
analyzer
public void addField(java.lang.String, org.apache.lucene.analysis.TokenStream);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual org.apache.lucene.index.memory.MemoryIndex.addField:(Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 2 1 fieldName Ljava/lang/String;
0 2 2 stream Lorg/apache/lucene/analysis/TokenStream;
MethodParameters:
Name Flags
fieldName
stream
public void addField(java.lang.String, org.apache.lucene.analysis.TokenStream, int);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
iconst_1
invokevirtual org.apache.lucene.index.memory.MemoryIndex.addField:(Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 2 1 fieldName Ljava/lang/String;
0 2 2 stream Lorg/apache/lucene/analysis/TokenStream;
0 2 3 positionIncrementGap I
MethodParameters:
Name Flags
fieldName
stream
positionIncrementGap
public void addField(java.lang.String, org.apache.lucene.analysis.TokenStream, int, int);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;II)V
flags: (0x0001) ACC_PUBLIC
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 0
aload 1
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.defaultFieldType:Lorg/apache/lucene/document/FieldType;
invokevirtual org.apache.lucene.index.memory.MemoryIndex.getInfo:(Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)Lorg/apache/lucene/index/memory/MemoryIndex$Info;
astore 5
start local 5 1: aload 0
aload 5
aload 2
iload 3
iload 4
invokevirtual org.apache.lucene.index.memory.MemoryIndex.storeTerms:(Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/analysis/TokenStream;II)V
2: return
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 3 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 3 1 fieldName Ljava/lang/String;
0 3 2 tokenStream Lorg/apache/lucene/analysis/TokenStream;
0 3 3 positionIncrementGap I
0 3 4 offsetGap I
1 3 5 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
MethodParameters:
Name Flags
fieldName
tokenStream
positionIncrementGap
offsetGap
private org.apache.lucene.index.memory.MemoryIndex$Info getInfo(java.lang.String, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/index/IndexableFieldType;)Lorg/apache/lucene/index/memory/MemoryIndex$Info;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.frozen:Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Cannot call addField() when MemoryIndex is frozen"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "fieldName must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
aload 1
invokeinterface java.util.SortedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.index.memory.MemoryIndex$Info
astore 3
start local 3 5: aload 3
ifnonnull 7
6: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
aload 1
new org.apache.lucene.index.memory.MemoryIndex$Info
dup
aload 0
aload 0
aload 1
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.size:()I
aload 2
invokevirtual org.apache.lucene.index.memory.MemoryIndex.createFieldInfo:(Ljava/lang/String;ILorg/apache/lucene/index/IndexableFieldType;)Lorg/apache/lucene/index/FieldInfo;
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.byteBlockPool:Lorg/apache/lucene/util/ByteBlockPool;
invokespecial org.apache.lucene.index.memory.MemoryIndex$Info.<init>:(Lorg/apache/lucene/index/memory/MemoryIndex;Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/util/ByteBlockPool;)V
dup
astore 3
invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: org.apache.lucene.index.memory.MemoryIndex$Info
StackMap stack:
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDataDimensionCount:()I
aload 3
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDataDimensionCount:()I
if_icmpeq 10
8: aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDataDimensionCount:()I
ifle 10
9: aload 3
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDataDimensionCount:()I
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.pointIndexDimensionCount:()I
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.pointNumBytes:()I
invokevirtual org.apache.lucene.index.FieldInfo.setPointDimensions:(III)V
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
aload 3
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 13
11: aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpeq 13
12: aload 3
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
aload 2
invokeinterface org.apache.lucene.index.IndexableFieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
invokevirtual org.apache.lucene.index.FieldInfo.setDocValuesType:(Lorg/apache/lucene/index/DocValuesType;)V
13: 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 14 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 14 1 fieldName Ljava/lang/String;
0 14 2 fieldType Lorg/apache/lucene/index/IndexableFieldType;
5 14 3 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
MethodParameters:
Name Flags
fieldName
fieldType
private org.apache.lucene.index.FieldInfo createFieldInfo(java.lang.String, int, org.apache.lucene.index.IndexableFieldType);
descriptor: (Ljava/lang/String;ILorg/apache/lucene/index/IndexableFieldType;)Lorg/apache/lucene/index/FieldInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=16, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storeOffsets:Z
ifeq 1
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS:Lorg/apache/lucene/index/IndexOptions;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS:Lorg/apache/lucene/index/IndexOptions;
StackMap locals:
StackMap stack: org.apache.lucene.index.IndexOptions
2: astore 4
start local 4 3: new org.apache.lucene.index.FieldInfo
dup
aload 1
iload 2
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectors:()Z
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.omitNorms:()Z
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storePayloads:Z
4: aload 4
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.docValuesType:()Lorg/apache/lucene/index/DocValuesType;
ldc -1
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
5: aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.pointDataDimensionCount:()I
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.pointIndexDimensionCount:()I
aload 3
invokeinterface org.apache.lucene.index.IndexableFieldType.pointNumBytes:()I
iconst_0
6: invokespecial org.apache.lucene.index.FieldInfo.<init>:(Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map;IIIZ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 7 1 fieldName Ljava/lang/String;
0 7 2 ord I
0 7 3 fieldType Lorg/apache/lucene/index/IndexableFieldType;
3 7 4 indexOptions Lorg/apache/lucene/index/IndexOptions;
MethodParameters:
Name Flags
fieldName
ord
fieldType
private void storePointValues(org.apache.lucene.index.memory.MemoryIndex$Info, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
ifnonnull 2
1: aload 1
iconst_4
anewarray org.apache.lucene.util.BytesRef
putfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
2: StackMap locals:
StackMap stack:
aload 1
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValuesCount:I
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast org.apache.lucene.util.BytesRef[]
putfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
3: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValues:[Lorg/apache/lucene/util/BytesRef;
aload 1
dup
getfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValuesCount:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$Info.pointValuesCount:I
aload 2
invokestatic org.apache.lucene.util.BytesRef.deepCopyOf:(Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
aastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 5 1 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
0 5 2 pointValue Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
info
pointValue
private void storeDocValues(org.apache.lucene.index.memory.MemoryIndex$Info, org.apache.lucene.index.DocValuesType, java.lang.Object);
descriptor: (Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/index/DocValuesType;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=17, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
astore 4
start local 4 1: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getDocValuesType:()Lorg/apache/lucene/index/DocValuesType;
astore 5
start local 5 2: aload 5
getstatic org.apache.lucene.index.DocValuesType.NONE:Lorg/apache/lucene/index/DocValuesType;
if_acmpne 10
3: aload 1
new org.apache.lucene.index.FieldInfo
dup
4: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
getfield org.apache.lucene.index.FieldInfo.number:I
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.hasVectors:()Z
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.hasPayloads:()Z
5: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.hasPayloads:()Z
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
aload 2
ldc -1
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.attributes:()Ljava/util/Map;
6: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointDataDimensionCount:()I
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointIndexDimensionCount:()I
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.getPointNumBytes:()I
7: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.isSoftDeletesField:()Z
invokespecial org.apache.lucene.index.FieldInfo.<init>:(Ljava/lang/String;IZZZLorg/apache/lucene/index/IndexOptions;Lorg/apache/lucene/index/DocValuesType;JLjava/util/Map;IIIZ)V
8: putfield org.apache.lucene.index.memory.MemoryIndex$Info.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
9: goto 12
StackMap locals: java.lang.String org.apache.lucene.index.DocValuesType
StackMap stack:
10: aload 5
aload 2
if_acmpeq 12
11: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Can't add ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] doc values field ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "], because ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] doc values field already exists"
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
12: StackMap locals:
StackMap stack:
invokestatic org.apache.lucene.index.memory.MemoryIndex.$SWITCH_TABLE$org$apache$lucene$index$DocValuesType:()[I
aload 2
invokevirtual org.apache.lucene.index.DocValuesType.ordinal:()I
iaload
tableswitch { // 2 - 6
2: 13
3: 23
4: 28
5: 18
6: 33
default: 37
}
13: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
ifnull 15
14: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Only one value per field allowed for ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] doc values field ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
iconst_1
newarray 11
dup
iconst_0
aload 3
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lastore
putfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
16: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
dup
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.count:I
iconst_1
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.count:I
17: goto 38
18: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
ifnonnull 20
19: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
iconst_4
newarray 11
putfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
20: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.count:I
iconst_1
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([JI)[J
putfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
21: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.dvLongValues:[J
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numericProducer:Lorg/apache/lucene/index/memory/MemoryIndex$NumericDocValuesProducer;
dup
getfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.count:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer.count:I
aload 3
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lastore
22: goto 38
23: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
ifnull 25
24: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Only one value per field allowed for ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] doc values field ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
new org.apache.lucene.util.BytesRefHash
dup
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.byteBlockPool:Lorg/apache/lucene/util/ByteBlockPool;
invokespecial org.apache.lucene.util.BytesRefHash.<init>:(Lorg/apache/lucene/util/ByteBlockPool;)V
putfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
26: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
aload 3
checkcast org.apache.lucene.util.BytesRef
invokevirtual org.apache.lucene.util.BytesRefHash.add:(Lorg/apache/lucene/util/BytesRef;)I
pop
27: goto 38
28: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
ifnull 30
29: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Only one value per field allowed for ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] doc values field ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
new org.apache.lucene.util.BytesRefHash
dup
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.byteBlockPool:Lorg/apache/lucene/util/ByteBlockPool;
invokespecial org.apache.lucene.util.BytesRefHash.<init>:(Lorg/apache/lucene/util/ByteBlockPool;)V
putfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
31: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
aload 3
checkcast org.apache.lucene.util.BytesRef
invokevirtual org.apache.lucene.util.BytesRefHash.add:(Lorg/apache/lucene/util/BytesRef;)I
pop
32: goto 38
33: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
ifnonnull 35
34: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
new org.apache.lucene.util.BytesRefHash
dup
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.byteBlockPool:Lorg/apache/lucene/util/ByteBlockPool;
invokespecial org.apache.lucene.util.BytesRefHash.<init>:(Lorg/apache/lucene/util/ByteBlockPool;)V
putfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
35: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.binaryProducer:Lorg/apache/lucene/index/memory/MemoryIndex$BinaryDocValuesProducer;
getfield org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer.dvBytesValuesSet:Lorg/apache/lucene/util/BytesRefHash;
aload 3
checkcast org.apache.lucene.util.BytesRef
invokevirtual org.apache.lucene.util.BytesRefHash.add:(Lorg/apache/lucene/util/BytesRef;)I
pop
36: goto 38
37: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "unknown doc values type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
return
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 39 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 39 1 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
0 39 2 docValuesType Lorg/apache/lucene/index/DocValuesType;
0 39 3 docValuesValue Ljava/lang/Object;
1 39 4 fieldName Ljava/lang/String;
2 39 5 existingDocValuesType Lorg/apache/lucene/index/DocValuesType;
MethodParameters:
Name Flags
info
docValuesType
docValuesValue
private void storeTerms(org.apache.lucene.index.memory.MemoryIndex$Info, org.apache.lucene.analysis.TokenStream, int, int);
descriptor: (Lorg/apache/lucene/index/memory/MemoryIndex$Info;Lorg/apache/lucene/analysis/TokenStream;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=18, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_m1
istore 5
start local 5 1: iconst_0
istore 6
start local 6 2: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numTokens:I
ifle 5
3: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.lastPosition:I
iload 3
iadd
istore 5
4: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.lastOffset:I
iload 4
iadd
istore 6
5: StackMap locals: int int
StackMap stack:
aconst_null
astore 7
aconst_null
astore 8
6: aload 2
astore 9
start local 9 7: aload 9
ldc Lorg/apache/lucene/analysis/tokenattributes/TermToBytesRefAttribute;
invokevirtual org.apache.lucene.analysis.TokenStream.getAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
astore 10
start local 10 8: aload 9
ldc Lorg/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute;
invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
astore 11
start local 11 9: aload 9
ldc Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.OffsetAttribute
astore 12
start local 12 10: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storePayloads:Z
ifeq 11
aload 9
ldc Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
checkcast org.apache.lucene.analysis.tokenattributes.PayloadAttribute
goto 12
StackMap locals: org.apache.lucene.index.memory.MemoryIndex org.apache.lucene.index.memory.MemoryIndex$Info org.apache.lucene.analysis.TokenStream int int int int java.lang.Throwable java.lang.Throwable org.apache.lucene.analysis.TokenStream org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute org.apache.lucene.analysis.tokenattributes.OffsetAttribute
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: org.apache.lucene.analysis.tokenattributes.PayloadAttribute
12: astore 13
start local 13 13: aload 9
invokevirtual org.apache.lucene.analysis.TokenStream.reset:()V
14: goto 41
15: StackMap locals: org.apache.lucene.analysis.tokenattributes.PayloadAttribute
StackMap stack:
aload 1
dup
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numTokens:I
iconst_1
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$Info.numTokens:I
16: aload 11
invokeinterface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute.getPositionIncrement:()I
istore 14
start local 14 17: iload 14
ifne 19
18: aload 1
dup
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numOverlapTokens:I
iconst_1
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$Info.numOverlapTokens:I
19: StackMap locals: int
StackMap stack:
iload 5
iload 14
iadd
istore 5
20: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
aload 10
invokeinterface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute.getBytesRef:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRefHash.add:(Lorg/apache/lucene/util/BytesRef;)I
istore 15
start local 15 21: iload 15
ifge 25
22: iload 15
ineg
iconst_1
isub
istore 15
23: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.end:[I
iload 15
iaload
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.reset:(I)V
24: goto 26
25: StackMap locals: int
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.start:[I
iload 15
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.startNewSlice:()I
iastore
26: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.freq:[I
iload 15
dup2
iaload
iconst_1
iadd
iastore
27: aload 1
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.maxTermFrequency:I
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.freq:[I
iload 15
iaload
invokestatic java.lang.Math.max:(II)I
putfield org.apache.lucene.index.memory.MemoryIndex$Info.maxTermFrequency:I
28: aload 1
dup
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sumTotalTermFreq:J
lconst_1
ladd
putfield org.apache.lucene.index.memory.MemoryIndex$Info.sumTotalTermFreq:J
29: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
iload 5
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.writeInt:(I)V
30: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storeOffsets:Z
ifeq 33
31: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
aload 12
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.startOffset:()I
iload 6
iadd
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.writeInt:(I)V
32: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
aload 12
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.endOffset:()I
iload 6
iadd
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.writeInt:(I)V
33: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storePayloads:Z
ifeq 40
34: aload 13
invokeinterface org.apache.lucene.analysis.tokenattributes.PayloadAttribute.getPayload:()Lorg/apache/lucene/util/BytesRef;
astore 16
start local 16 35: aload 16
ifnull 36
aload 16
getfield org.apache.lucene.util.BytesRef.length:I
ifne 38
36: StackMap locals: org.apache.lucene.util.BytesRef
StackMap stack:
iconst_m1
istore 17
start local 17 37: goto 39
end local 17 38: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.payloadsBytesRefs:Lorg/apache/lucene/util/BytesRefArray;
aload 16
invokevirtual org.apache.lucene.util.BytesRefArray.append:(Lorg/apache/lucene/util/BytesRef;)I
istore 17
start local 17 39: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
iload 17
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.writeInt:(I)V
end local 17 end local 16 40: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.end:[I
iload 15
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.postingsWriter:Lorg/apache/lucene/util/IntBlockPool$SliceWriter;
invokevirtual org.apache.lucene.util.IntBlockPool$SliceWriter.getCurrentOffset:()I
iastore
end local 15 end local 14 41: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.lucene.analysis.TokenStream.incrementToken:()Z
ifne 15
42: aload 9
invokevirtual org.apache.lucene.analysis.TokenStream.end:()V
43: aload 1
getfield org.apache.lucene.index.memory.MemoryIndex$Info.numTokens:I
ifle 46
44: aload 1
iload 5
putfield org.apache.lucene.index.memory.MemoryIndex$Info.lastPosition:I
45: aload 1
aload 12
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.endOffset:()I
iload 6
iadd
putfield org.apache.lucene.index.memory.MemoryIndex$Info.lastOffset:I
end local 13 end local 12 end local 11 end local 10 46: StackMap locals: org.apache.lucene.index.memory.MemoryIndex org.apache.lucene.index.memory.MemoryIndex$Info org.apache.lucene.analysis.TokenStream int int int int java.lang.Throwable java.lang.Throwable org.apache.lucene.analysis.TokenStream
StackMap stack:
aload 9
ifnull 54
aload 9
invokevirtual org.apache.lucene.analysis.TokenStream.close:()V
goto 54
StackMap locals:
StackMap stack: java.lang.Throwable
47: astore 7
aload 9
ifnull 48
aload 9
invokevirtual org.apache.lucene.analysis.TokenStream.close:()V
end local 9 StackMap locals:
StackMap stack:
48: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
49: astore 8
aload 7
ifnonnull 50
aload 8
astore 7
goto 51
StackMap locals:
StackMap stack:
50: aload 7
aload 8
if_acmpeq 51
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
51: aload 7
athrow
StackMap locals: org.apache.lucene.index.memory.MemoryIndex org.apache.lucene.index.memory.MemoryIndex$Info org.apache.lucene.analysis.TokenStream int int int int
StackMap stack: java.io.IOException
52: astore 7
start local 7 53: new java.lang.RuntimeException
dup
aload 7
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 54: StackMap locals:
StackMap stack:
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 55 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 55 1 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
0 55 2 tokenStream Lorg/apache/lucene/analysis/TokenStream;
0 55 3 positionIncrementGap I
0 55 4 offsetGap I
1 55 5 pos I
2 55 6 offset I
7 48 9 stream Lorg/apache/lucene/analysis/TokenStream;
8 46 10 termAtt Lorg/apache/lucene/analysis/tokenattributes/TermToBytesRefAttribute;
9 46 11 posIncrAttribute Lorg/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute;
10 46 12 offsetAtt Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
13 46 13 payloadAtt Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
17 41 14 posIncr I
21 41 15 ord I
35 40 16 payload Lorg/apache/lucene/util/BytesRef;
37 38 17 pIndex I
39 40 17 pIndex I
53 54 7 e Ljava/io/IOException;
Exception table:
from to target type
7 46 47 any
6 49 49 any
5 52 52 Class java.io.IOException
MethodParameters:
Name Flags
info
tokenStream
positionIncrementGap
offsetGap
public void setSimilarity(org.apache.lucene.search.similarities.Similarity);
descriptor: (Lorg/apache/lucene/search/similarities/Similarity;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.frozen:Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Cannot set Similarity when MemoryIndex is frozen"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.normSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
aload 1
if_acmpne 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.memory.MemoryIndex.normSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
5: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.apache.lucene.index.memory.MemoryIndex org.apache.lucene.search.similarities.Similarity top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.memory.MemoryIndex$Info
astore 2
start local 2 7: aload 2
aconst_null
putfield org.apache.lucene.index.memory.MemoryIndex$Info.norm:Ljava/lang/Long;
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
0 10 1 similarity Lorg/apache/lucene/search/similarities/Similarity;
7 8 2 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
MethodParameters:
Name Flags
similarity
public org.apache.lucene.search.IndexSearcher createSearcher();
descriptor: ()Lorg/apache/lucene/search/IndexSearcher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader
dup
aload 0
invokespecial org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader.<init>:(Lorg/apache/lucene/index/memory/MemoryIndex;)V
astore 1
start local 1 1: new org.apache.lucene.search.IndexSearcher
dup
aload 1
invokespecial org.apache.lucene.search.IndexSearcher.<init>:(Lorg/apache/lucene/index/IndexReader;)V
astore 2
start local 2 2: aload 2
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.normSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
invokevirtual org.apache.lucene.search.IndexSearcher.setSimilarity:(Lorg/apache/lucene/search/similarities/Similarity;)V
3: aload 2
aconst_null
invokevirtual org.apache.lucene.search.IndexSearcher.setQueryCache:(Lorg/apache/lucene/search/QueryCache;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
1 5 1 reader Lorg/apache/lucene/index/memory/MemoryIndex$MemoryIndexReader;
2 5 2 searcher Lorg/apache/lucene/search/IndexSearcher;
public void freeze();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.lucene.index.memory.MemoryIndex.frozen:Z
1: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.apache.lucene.index.memory.MemoryIndex top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.memory.MemoryIndex$Info
astore 1
start local 1 3: aload 1
invokevirtual org.apache.lucene.index.memory.MemoryIndex$Info.freeze:()V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
3 4 1 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
public float search(org.apache.lucene.search.Query);
descriptor: (Lorg/apache/lucene/search/Query;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "query must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.memory.MemoryIndex.createSearcher:()Lorg/apache/lucene/search/IndexSearcher;
astore 2
start local 2 3: iconst_1
newarray 6
astore 3
start local 3 4: aload 2
aload 1
new org.apache.lucene.index.memory.MemoryIndex$2
dup
aload 0
aload 3
invokespecial org.apache.lucene.index.memory.MemoryIndex$2.<init>:(Lorg/apache/lucene/index/memory/MemoryIndex;[F)V
invokevirtual org.apache.lucene.search.IndexSearcher.search:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/Collector;)V
5: aload 3
iconst_0
faload
fstore 4
start local 4 6: fload 4
7: freturn
end local 4 end local 3 8: StackMap locals: org.apache.lucene.index.memory.MemoryIndex org.apache.lucene.search.Query org.apache.lucene.search.IndexSearcher
StackMap stack: java.io.IOException
astore 3
start local 3 9: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
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/memory/MemoryIndex;
0 10 1 query Lorg/apache/lucene/search/Query;
3 10 2 searcher Lorg/apache/lucene/search/IndexSearcher;
4 8 3 scores [F
6 8 4 score F
9 10 3 e Ljava/io/IOException;
Exception table:
from to target type
3 7 8 Class java.io.IOException
MethodParameters:
Name Flags
query
public java.lang.String toStringDebug();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=18, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 256
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: new org.apache.lucene.util.BytesRef
dup
invokespecial org.apache.lucene.util.BytesRef.<init>:()V
astore 4
start local 4 4: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storePayloads:Z
ifeq 5
new org.apache.lucene.util.BytesRefBuilder
dup
invokespecial org.apache.lucene.util.BytesRefBuilder.<init>:()V
goto 6
StackMap locals: org.apache.lucene.index.memory.MemoryIndex java.lang.StringBuilder int int org.apache.lucene.util.BytesRef
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: org.apache.lucene.util.BytesRefBuilder
6: astore 5
start local 5 7: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 54
StackMap locals: org.apache.lucene.index.memory.MemoryIndex java.lang.StringBuilder int int org.apache.lucene.util.BytesRef org.apache.lucene.util.BytesRefBuilder top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 9: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 10: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.lucene.index.memory.MemoryIndex$Info
astore 9
start local 9 11: aload 9
invokevirtual org.apache.lucene.index.memory.MemoryIndex$Info.sortTerms:()V
12: aload 1
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 9
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sliceArray:Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
astore 10
start local 10 14: iconst_0
istore 11
start local 11 15: new org.apache.lucene.util.IntBlockPool$SliceReader
dup
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.intBlockPool:Lorg/apache/lucene/util/IntBlockPool;
invokespecial org.apache.lucene.util.IntBlockPool$SliceReader.<init>:(Lorg/apache/lucene/util/IntBlockPool;)V
astore 12
start local 12 16: iconst_0
istore 13
start local 13 17: goto 48
18: StackMap locals: org.apache.lucene.index.memory.MemoryIndex java.lang.StringBuilder int int org.apache.lucene.util.BytesRef org.apache.lucene.util.BytesRefBuilder java.util.Map$Entry java.util.Iterator java.lang.String org.apache.lucene.index.memory.MemoryIndex$Info org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray int org.apache.lucene.util.IntBlockPool$SliceReader int
StackMap stack:
aload 9
getfield org.apache.lucene.index.memory.MemoryIndex$Info.sortedTerms:[I
iload 13
iaload
istore 14
start local 14 19: aload 9
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
iload 14
aload 4
invokevirtual org.apache.lucene.util.BytesRefHash.get:(ILorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
pop
20: aload 10
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.freq:[I
iload 14
iaload
istore 15
start local 15 21: aload 1
ldc "\t'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "':"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 15
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
22: aload 12
aload 10
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.start:[I
iload 14
iaload
aload 10
getfield org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray.end:[I
iload 14
iaload
invokevirtual org.apache.lucene.util.IntBlockPool$SliceReader.reset:(II)V
23: aload 1
ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storeOffsets:Z
ifeq 25
iconst_3
goto 26
StackMap locals: int int
StackMap stack:
25: iconst_1
StackMap locals:
StackMap stack: int
26: istore 16
start local 16 27: goto 43
28: StackMap locals: int
StackMap stack:
aload 1
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: iconst_0
istore 17
start local 17 30: goto 35
31: StackMap locals: int
StackMap stack:
aload 1
aload 12
invokevirtual org.apache.lucene.util.IntBlockPool$SliceReader.readInt:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
32: iload 17
iload 16
iconst_1
isub
if_icmpge 34
33: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
34: StackMap locals:
StackMap stack:
iinc 17 1
StackMap locals:
StackMap stack:
35: iload 17
iload 16
if_icmplt 31
end local 17 36: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.storePayloads:Z
ifeq 40
37: aload 12
invokevirtual org.apache.lucene.util.IntBlockPool$SliceReader.readInt:()I
istore 17
start local 17 38: iload 17
iconst_m1
if_icmpeq 40
39: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.payloadsBytesRefs:Lorg/apache/lucene/util/BytesRefArray;
aload 5
iload 17
invokevirtual org.apache.lucene.util.BytesRefArray.get:(Lorg/apache/lucene/util/BytesRefBuilder;I)Lorg/apache/lucene/util/BytesRef;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 17 40: StackMap locals:
StackMap stack:
aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: aload 12
invokevirtual org.apache.lucene.util.IntBlockPool$SliceReader.endOfSlice:()Z
ifne 43
42: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
43: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.apache.lucene.util.IntBlockPool$SliceReader.endOfSlice:()Z
ifeq 28
44: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
46: iload 11
iload 15
iadd
istore 11
end local 16 end local 15 end local 14 47: iinc 13 1
StackMap locals:
StackMap stack:
48: iload 13
aload 9
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
invokevirtual org.apache.lucene.util.BytesRefHash.size:()I
if_icmplt 18
end local 13 49: aload 1
ldc "\tterms="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
invokevirtual org.apache.lucene.util.BytesRefHash.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
50: aload 1
ldc ", positions="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 11
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
51: aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
52: iload 2
iload 11
iadd
istore 2
53: iload 3
aload 9
getfield org.apache.lucene.index.memory.MemoryIndex$Info.terms:Lorg/apache/lucene/util/BytesRefHash;
invokevirtual org.apache.lucene.util.BytesRefHash.size:()I
iadd
istore 3
end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 54: StackMap locals: org.apache.lucene.index.memory.MemoryIndex java.lang.StringBuilder int int org.apache.lucene.util.BytesRef org.apache.lucene.util.BytesRefBuilder top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
55: aload 1
ldc "\nfields="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
56: aload 1
ldc ", terms="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
57: aload 1
ldc ", positions="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
58: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 59 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
1 59 1 result Ljava/lang/StringBuilder;
2 59 2 sumPositions I
3 59 3 sumTerms I
4 59 4 spare Lorg/apache/lucene/util/BytesRef;
7 59 5 payloadBuilder Lorg/apache/lucene/util/BytesRefBuilder;
9 54 6 entry Ljava/util/Map$Entry<Ljava/lang/String;Lorg/apache/lucene/index/memory/MemoryIndex$Info;>;
10 54 8 fieldName Ljava/lang/String;
11 54 9 info Lorg/apache/lucene/index/memory/MemoryIndex$Info;
14 54 10 sliceArray Lorg/apache/lucene/index/memory/MemoryIndex$SliceByteStartArray;
15 54 11 numPositions I
16 54 12 postingsReader Lorg/apache/lucene/util/IntBlockPool$SliceReader;
17 49 13 j I
19 47 14 ord I
21 47 15 freq I
27 47 16 iters I
30 36 17 k I
38 40 17 payloadIndex I
private static org.apache.lucene.index.SortedNumericDocValues numericDocValues(long[], int);
descriptor: ([JI)Lorg/apache/lucene/index/SortedNumericDocValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator
dup
invokespecial org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator.<init>:()V
astore 2
start local 2 1: new org.apache.lucene.index.memory.MemoryIndex$3
dup
aload 0
iload 1
aload 2
invokespecial org.apache.lucene.index.memory.MemoryIndex$3.<init>:([JILorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 values [J
0 2 1 count I
1 2 2 it Lorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;
MethodParameters:
Name Flags
values
count
private static org.apache.lucene.index.NumericDocValues numericDocValues(long);
descriptor: (J)Lorg/apache/lucene/index/NumericDocValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: new org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator
dup
invokespecial org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator.<init>:()V
astore 2
start local 2 1: new org.apache.lucene.index.memory.MemoryIndex$4
dup
lload 0
aload 2
invokespecial org.apache.lucene.index.memory.MemoryIndex$4.<init>:(JLorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;)V
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value J
1 2 2 it Lorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;
MethodParameters:
Name Flags
value
private static org.apache.lucene.index.SortedDocValues sortedDocValues(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/index/SortedDocValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator
dup
invokespecial org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator.<init>:()V
astore 1
start local 1 1: new org.apache.lucene.index.memory.MemoryIndex$5
dup
aload 0
aload 1
invokespecial org.apache.lucene.index.memory.MemoryIndex$5.<init>:(Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Lorg/apache/lucene/util/BytesRef;
1 2 1 it Lorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;
MethodParameters:
Name Flags
value
private static org.apache.lucene.index.SortedSetDocValues sortedSetDocValues(org.apache.lucene.util.BytesRefHash, int[]);
descriptor: (Lorg/apache/lucene/util/BytesRefHash;[I)Lorg/apache/lucene/index/SortedSetDocValues;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator
dup
invokespecial org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator.<init>:()V
astore 2
start local 2 1: new org.apache.lucene.util.BytesRef
dup
invokespecial org.apache.lucene.util.BytesRef.<init>:()V
astore 3
start local 3 2: new org.apache.lucene.index.memory.MemoryIndex$6
dup
aload 0
aload 1
aload 3
aload 2
invokespecial org.apache.lucene.index.memory.MemoryIndex$6.<init>:(Lorg/apache/lucene/util/BytesRefHash;[ILorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 values Lorg/apache/lucene/util/BytesRefHash;
0 3 1 bytesIds [I
1 3 2 it Lorg/apache/lucene/index/memory/MemoryIndex$MemoryDocValuesIterator;
2 3 3 scratch Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
values
bytesIds
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.fields:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.clear:()V
1: aload 0
invokestatic org.apache.lucene.search.IndexSearcher.getDefaultSimilarity:()Lorg/apache/lucene/search/similarities/Similarity;
putfield org.apache.lucene.index.memory.MemoryIndex.normSimilarity:Lorg/apache/lucene/search/similarities/Similarity;
2: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.byteBlockPool:Lorg/apache/lucene/util/ByteBlockPool;
iconst_0
iconst_0
invokevirtual org.apache.lucene.util.ByteBlockPool.reset:(ZZ)V
3: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.intBlockPool:Lorg/apache/lucene/util/IntBlockPool;
iconst_1
iconst_0
invokevirtual org.apache.lucene.util.IntBlockPool.reset:(ZZ)V
4: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.payloadsBytesRefs:Lorg/apache/lucene/util/BytesRefArray;
ifnull 6
5: aload 0
getfield org.apache.lucene.index.memory.MemoryIndex.payloadsBytesRefs:Lorg/apache/lucene/util/BytesRefArray;
invokevirtual org.apache.lucene.util.BytesRefArray.clear:()V
6: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.lucene.index.memory.MemoryIndex.frozen:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/index/memory/MemoryIndex;
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.memory.MemoryIndex.$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.memory.MemoryIndex.$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
}
SourceFile: "MemoryIndex.java"
NestMembers:
org.apache.lucene.index.memory.MemoryIndex$1 org.apache.lucene.index.memory.MemoryIndex$2 org.apache.lucene.index.memory.MemoryIndex$3 org.apache.lucene.index.memory.MemoryIndex$4 org.apache.lucene.index.memory.MemoryIndex$5 org.apache.lucene.index.memory.MemoryIndex$6 org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer org.apache.lucene.index.memory.MemoryIndex$Info org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryFields$1 org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryIndexPointValues org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryPostingsEnum org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader$MemoryTermsEnum org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.lucene.index.memory.MemoryIndex$1
org.apache.lucene.index.memory.MemoryIndex$2
org.apache.lucene.index.memory.MemoryIndex$3
org.apache.lucene.index.memory.MemoryIndex$4
org.apache.lucene.index.memory.MemoryIndex$5
org.apache.lucene.index.memory.MemoryIndex$6
private final BinaryDocValuesProducer = org.apache.lucene.index.memory.MemoryIndex$BinaryDocValuesProducer of org.apache.lucene.index.memory.MemoryIndex
private final Info = org.apache.lucene.index.memory.MemoryIndex$Info of org.apache.lucene.index.memory.MemoryIndex
private MemoryDocValuesIterator = org.apache.lucene.index.memory.MemoryIndex$MemoryDocValuesIterator of org.apache.lucene.index.memory.MemoryIndex
private final MemoryIndexReader = org.apache.lucene.index.memory.MemoryIndex$MemoryIndexReader of org.apache.lucene.index.memory.MemoryIndex
private final NumericDocValuesProducer = org.apache.lucene.index.memory.MemoryIndex$NumericDocValuesProducer of org.apache.lucene.index.memory.MemoryIndex
private final SliceByteStartArray = org.apache.lucene.index.memory.MemoryIndex$SliceByteStartArray of org.apache.lucene.index.memory.MemoryIndex
public abstract Allocator = org.apache.lucene.util.ByteBlockPool$Allocator of org.apache.lucene.util.ByteBlockPool
public abstract Allocator = org.apache.lucene.util.IntBlockPool$Allocator of org.apache.lucene.util.IntBlockPool
public final SliceReader = org.apache.lucene.util.IntBlockPool$SliceReader of org.apache.lucene.util.IntBlockPool
public SliceWriter = org.apache.lucene.util.IntBlockPool$SliceWriter of org.apache.lucene.util.IntBlockPool