final class org.apache.lucene.index.FreqProxTermsWriterPerField extends org.apache.lucene.index.TermsHashPerField
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.FreqProxTermsWriterPerField
super_class: org.apache.lucene.index.TermsHashPerField
{
private org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray freqProxPostingsArray;
descriptor: Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.index.FieldInvertState fieldState;
descriptor: Lorg/apache/lucene/index/FieldInvertState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.index.FieldInfo fieldInfo;
descriptor: Lorg/apache/lucene/index/FieldInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final boolean hasFreq;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean hasProx;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean hasOffsets;
descriptor: Z
flags: (0x0010) ACC_FINAL
org.apache.lucene.analysis.tokenattributes.PayloadAttribute payloadAttribute;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
flags: (0x0000)
org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttribute;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
flags: (0x0000)
org.apache.lucene.analysis.tokenattributes.TermFrequencyAttribute termFreqAtt;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
flags: (0x0000)
boolean sawPayloads;
descriptor: Z
flags: (0x0000)
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
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.FreqProxTermsWriterPerField.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.index.FieldInvertState, org.apache.lucene.index.TermsHash, org.apache.lucene.index.FieldInfo, org.apache.lucene.index.TermsHashPerField);
descriptor: (Lorg/apache/lucene/index/FieldInvertState;Lorg/apache/lucene/index/TermsHash;Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/TermsHashPerField;)V
flags: (0x0000)
Code:
stack=9, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 1
iconst_2
goto 2
StackMap locals:
StackMap stack: uninitialized-this
1: iconst_1
2: StackMap locals: uninitialized-this org.apache.lucene.index.FieldInvertState org.apache.lucene.index.TermsHash org.apache.lucene.index.FieldInfo org.apache.lucene.index.TermsHashPerField
StackMap stack: uninitialized-this int
aload 2
getfield org.apache.lucene.index.TermsHash.intPool:Lorg/apache/lucene/util/IntBlockPool;
aload 2
getfield org.apache.lucene.index.TermsHash.bytePool:Lorg/apache/lucene/util/ByteBlockPool;
aload 2
getfield org.apache.lucene.index.TermsHash.termBytePool:Lorg/apache/lucene/util/ByteBlockPool;
aload 2
getfield org.apache.lucene.index.TermsHash.bytesUsed:Lorg/apache/lucene/util/Counter;
aload 4
aload 3
getfield org.apache.lucene.index.FieldInfo.name:Ljava/lang/String;
aload 3
invokevirtual org.apache.lucene.index.FieldInfo.getIndexOptions:()Lorg/apache/lucene/index/IndexOptions;
invokespecial org.apache.lucene.index.TermsHashPerField.<init>:(ILorg/apache/lucene/util/IntBlockPool;Lorg/apache/lucene/util/ByteBlockPool;Lorg/apache/lucene/util/ByteBlockPool;Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/TermsHashPerField;Ljava/lang/String;Lorg/apache/lucene/index/IndexOptions;)V
3: aload 0
aload 1
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
4: aload 0
aload 3
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
5: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 6
iconst_1
goto 7
StackMap locals: org.apache.lucene.index.FreqProxTermsWriterPerField org.apache.lucene.index.FieldInvertState org.apache.lucene.index.TermsHash org.apache.lucene.index.FieldInfo org.apache.lucene.index.TermsHashPerField
StackMap stack: org.apache.lucene.index.FreqProxTermsWriterPerField
6: iconst_0
StackMap locals: org.apache.lucene.index.FreqProxTermsWriterPerField org.apache.lucene.index.FieldInvertState org.apache.lucene.index.TermsHash org.apache.lucene.index.FieldInfo org.apache.lucene.index.TermsHashPerField
StackMap stack: org.apache.lucene.index.FreqProxTermsWriterPerField int
7: putfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasFreq:Z
8: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 9
iconst_1
goto 10
StackMap locals:
StackMap stack: org.apache.lucene.index.FreqProxTermsWriterPerField
9: iconst_0
StackMap locals: org.apache.lucene.index.FreqProxTermsWriterPerField org.apache.lucene.index.FieldInvertState org.apache.lucene.index.TermsHash org.apache.lucene.index.FieldInfo org.apache.lucene.index.TermsHashPerField
StackMap stack: org.apache.lucene.index.FreqProxTermsWriterPerField int
10: putfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasProx:Z
11: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 12
iconst_1
goto 13
StackMap locals:
StackMap stack: org.apache.lucene.index.FreqProxTermsWriterPerField
12: iconst_0
StackMap locals: org.apache.lucene.index.FreqProxTermsWriterPerField org.apache.lucene.index.FieldInvertState org.apache.lucene.index.TermsHash org.apache.lucene.index.FieldInfo org.apache.lucene.index.TermsHashPerField
StackMap stack: org.apache.lucene.index.FreqProxTermsWriterPerField int
13: putfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasOffsets:Z
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
0 15 1 invertState Lorg/apache/lucene/index/FieldInvertState;
0 15 2 termsHash Lorg/apache/lucene/index/TermsHash;
0 15 3 fieldInfo Lorg/apache/lucene/index/FieldInfo;
0 15 4 nextPerField Lorg/apache/lucene/index/TermsHashPerField;
MethodParameters:
Name Flags
invertState
termsHash
fieldInfo
nextPerField
void finish();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.TermsHashPerField.finish:()V
1: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.sawPayloads:Z
ifeq 3
2: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.setStorePayloads:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
Exceptions:
throws java.io.IOException
boolean start(org.apache.lucene.index.IndexableField, boolean);
descriptor: (Lorg/apache/lucene/index/IndexableField;Z)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial org.apache.lucene.index.TermsHashPerField.start:(Lorg/apache/lucene/index/IndexableField;Z)Z
pop
1: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.termFreqAttribute:Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.termFreqAtt:Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
2: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
3: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
4: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
0 5 1 f Lorg/apache/lucene/index/IndexableField;
0 5 2 first Z
MethodParameters:
Name Flags
f
first
void writeProx(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
ifnonnull 3
1: aload 0
iconst_1
iload 2
iconst_1
ishl
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
2: goto 11
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.PayloadAttribute.getPayload:()Lorg/apache/lucene/util/BytesRef;
astore 3
start local 3 4: aload 3
ifnull 10
aload 3
getfield org.apache.lucene.util.BytesRef.length:I
ifle 10
5: aload 0
iconst_1
iload 2
iconst_1
ishl
iconst_1
ior
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
6: aload 0
iconst_1
aload 3
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
7: aload 0
iconst_1
aload 3
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 3
getfield org.apache.lucene.util.BytesRef.offset:I
aload 3
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeBytes:(I[BII)V
8: aload 0
iconst_1
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.sawPayloads:Z
9: goto 11
10: StackMap locals: org.apache.lucene.util.BytesRef
StackMap stack:
aload 0
iconst_1
iload 2
iconst_1
ishl
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
end local 3 11: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 12
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.postingsArray:Lorg/apache/lucene/index/ParallelPostingsArray;
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
if_acmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastPositions:[I
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.position:I
iastore
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
0 14 1 termID I
0 14 2 proxCode I
4 11 3 payload Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
termID
proxCode
void writeOffsets(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.startOffset:()I
iadd
istore 3
start local 3 1: iload 2
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.endOffset:()I
iadd
istore 4
start local 4 2: getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 3
iload 3
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastOffsets:[I
iload 1
iaload
isub
ifge 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int int
StackMap stack:
aload 0
iconst_1
iload 3
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastOffsets:[I
iload 1
iaload
isub
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
4: aload 0
iconst_1
iload 4
iload 3
isub
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
5: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastOffsets:[I
iload 1
iload 3
iastore
6: return
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/FreqProxTermsWriterPerField;
0 7 1 termID I
0 7 2 offsetAccum I
1 7 3 startOffset I
2 7 4 endOffset I
MethodParameters:
Name Flags
termID
offsetAccum
void newTerm(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
astore 3
start local 3 1: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iload 2
iastore
2: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasFreq:Z
ifne 7
3: getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 4
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
ifnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray
StackMap stack:
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iload 2
iastore
5: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
iconst_1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
invokestatic java.lang.Math.max:(II)I
putfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
6: goto 16
7: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iload 2
iconst_1
ishl
iastore
8: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
aload 0
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.getTermFreq:()I
iastore
9: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasProx:Z
ifeq 14
10: aload 0
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.position:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeProx:(II)V
11: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasOffsets:Z
ifeq 15
12: aload 0
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offset:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeOffsets:(II)V
13: goto 15
14: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 15
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasOffsets:Z
ifeq 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
invokestatic java.lang.Math.max:(II)I
putfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
dup
getfield org.apache.lucene.index.FieldInvertState.uniqueTermCount:I
iconst_1
iadd
putfield org.apache.lucene.index.FieldInvertState.uniqueTermCount:I
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
0 18 1 termID I
0 18 2 docID I
1 18 3 postings Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
MethodParameters:
Name Flags
termID final
docID final
void addTerm(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
astore 3
start local 3 1: getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasFreq:Z
ifeq 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasFreq:Z
ifne 13
3: getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 4
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
ifnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.termFreqAtt:Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.TermFrequencyAttribute.getTermFrequency:()I
iconst_1
if_icmpeq 6
5: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "field \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.getFieldName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": must index term freq while using custom TermFrequencyAttribute"
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
6: StackMap locals:
StackMap stack:
iload 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
if_icmpeq 39
7: getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 8
iload 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
if_icmpgt 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iaload
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
9: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iload 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
isub
iastore
10: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iload 2
iastore
11: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
dup
getfield org.apache.lucene.index.FieldInvertState.uniqueTermCount:I
iconst_1
iadd
putfield org.apache.lucene.index.FieldInvertState.uniqueTermCount:I
12: goto 39
StackMap locals:
StackMap stack:
13: iload 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
if_icmpeq 33
14: getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 15
iload 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
if_icmpgt 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "id: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " postings ID: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " termID: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals:
StackMap stack:
iconst_1
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
if_icmpne 18
16: aload 0
iconst_0
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iaload
iconst_1
ior
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
17: goto 20
18: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iaload
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
19: aload 0
iconst_0
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeVInt:(II)V
20: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
aload 0
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.getTermFreq:()I
iastore
21: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
invokestatic java.lang.Math.max:(II)I
putfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
22: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocCodes:[I
iload 1
iload 2
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iaload
isub
iconst_1
ishl
iastore
23: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastDocIDs:[I
iload 1
iload 2
iastore
24: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasProx:Z
ifeq 30
25: aload 0
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.position:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeProx:(II)V
26: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasOffsets:Z
ifeq 31
27: aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastOffsets:[I
iload 1
iconst_0
iastore
28: aload 0
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offset:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeOffsets:(II)V
29: goto 31
30: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.index.FreqProxTermsWriterPerField.$assertionsDisabled:Z
ifne 31
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasOffsets:Z
ifeq 31
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
dup
getfield org.apache.lucene.index.FieldInvertState.uniqueTermCount:I
iconst_1
iadd
putfield org.apache.lucene.index.FieldInvertState.uniqueTermCount:I
32: goto 39
33: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
aload 0
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.getTermFreq:()I
invokestatic java.lang.Math.addExact:(II)I
iastore
34: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.termFreqs:[I
iload 1
iaload
invokestatic java.lang.Math.max:(II)I
putfield org.apache.lucene.index.FieldInvertState.maxTermFrequency:I
35: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasProx:Z
ifeq 39
36: aload 0
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.position:I
aload 3
getfield org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.lastPositions:[I
iload 1
iaload
isub
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeProx:(II)V
37: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasOffsets:Z
ifeq 39
38: aload 0
iload 1
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offset:I
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.writeOffsets:(II)V
39: StackMap locals:
StackMap stack:
return
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/FreqProxTermsWriterPerField;
0 40 1 termID I
0 40 2 docID I
1 40 3 postings Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
MethodParameters:
Name Flags
termID final
docID final
private int getTermFreq();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.termFreqAtt:Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.TermFrequencyAttribute.getTermFrequency:()I
istore 1
start local 1 1: iload 1
iconst_1
if_icmpeq 4
2: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.hasProx:Z
ifeq 4
3: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "field \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.getFieldName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": cannot index positions while using custom TermFrequencyAttribute"
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
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
1 5 1 freq I
public void newPostingsArray();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.postingsArray:Lorg/apache/lucene/index/ParallelPostingsArray;
checkcast org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray
putfield org.apache.lucene.index.FreqProxTermsWriterPerField.freqProxPostingsArray:Lorg/apache/lucene/index/FreqProxTermsWriterPerField$FreqProxPostingsArray;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
org.apache.lucene.index.ParallelPostingsArray createPostingsArray(int);
descriptor: (I)Lorg/apache/lucene/index/ParallelPostingsArray;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 0
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS:Lorg/apache/lucene/index/IndexOptions;
invokevirtual org.apache.lucene.index.IndexOptions.compareTo:(Ljava/lang/Enum;)I
iflt 7
iconst_1
goto 8
StackMap locals: int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 4
start local 4 9: new org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray
dup
iload 1
iload 2
iload 3
iload 4
invokespecial org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.<init>:(IZZZ)V
areturn
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/FreqProxTermsWriterPerField;
0 10 1 size I
3 10 2 hasFreq Z
6 10 3 hasProx Z
9 10 4 hasOffsets Z
MethodParameters:
Name Flags
size
}
SourceFile: "FreqProxTermsWriterPerField.java"
NestMembers:
org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray
InnerClasses:
final FreqProxPostingsArray = org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray of org.apache.lucene.index.FreqProxTermsWriterPerField