final class org.apache.lucene.index.TermVectorsConsumerPerField 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.TermVectorsConsumerPerField
super_class: org.apache.lucene.index.TermsHashPerField
{
private org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray termVectorsPostingsArray;
descriptor: Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.index.TermVectorsConsumer termsWriter;
descriptor: Lorg/apache/lucene/index/TermVectorsConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
private boolean doVectors;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean doVectorPositions;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean doVectorOffsets;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean doVectorPayloads;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttribute;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.analysis.tokenattributes.PayloadAttribute payloadAttribute;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
flags: (0x0002) ACC_PRIVATE
private org.apache.lucene.analysis.tokenattributes.TermFrequencyAttribute termFreqAtt;
descriptor: Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
flags: (0x0002) ACC_PRIVATE
private final org.apache.lucene.util.ByteBlockPool termBytePool;
descriptor: Lorg/apache/lucene/util/ByteBlockPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean hasPayloads;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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/TermVectorsConsumerPerField;
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.TermVectorsConsumerPerField.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.index.FieldInvertState, org.apache.lucene.index.TermVectorsConsumer, org.apache.lucene.index.FieldInfo);
descriptor: (Lorg/apache/lucene/index/FieldInvertState;Lorg/apache/lucene/index/TermVectorsConsumer;Lorg/apache/lucene/index/FieldInfo;)V
flags: (0x0000)
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_2
aload 2
getfield org.apache.lucene.index.TermVectorsConsumer.intPool:Lorg/apache/lucene/util/IntBlockPool;
aload 2
getfield org.apache.lucene.index.TermVectorsConsumer.bytePool:Lorg/apache/lucene/util/ByteBlockPool;
aload 2
getfield org.apache.lucene.index.TermVectorsConsumer.termBytePool:Lorg/apache/lucene/util/ByteBlockPool;
aload 2
getfield org.apache.lucene.index.TermVectorsConsumer.bytesUsed:Lorg/apache/lucene/util/Counter;
aconst_null
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
1: aload 0
aload 2
putfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
2: aload 0
aload 3
putfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
3: aload 0
aload 1
putfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
4: aload 0
aload 2
getfield org.apache.lucene.index.TermVectorsConsumer.termBytePool:Lorg/apache/lucene/util/ByteBlockPool;
putfield org.apache.lucene.index.TermVectorsConsumerPerField.termBytePool:Lorg/apache/lucene/util/ByteBlockPool;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
0 6 1 invertState Lorg/apache/lucene/index/FieldInvertState;
0 6 2 termsHash Lorg/apache/lucene/index/TermVectorsConsumer;
0 6 3 fieldInfo Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
invertState
termsHash
fieldInfo
void finish();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
ifeq 1
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getNumTerms:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumer.addFieldToFlush:(Lorg/apache/lucene/index/TermVectorsConsumerPerField;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
void finishDocument();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=11, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
3: aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getNumTerms:()I
istore 1
start local 1 4: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
getfield org.apache.lucene.index.TermVectorsConsumer.flushTerm:Lorg/apache/lucene/util/BytesRef;
astore 2
start local 2 5: getstatic org.apache.lucene.index.TermVectorsConsumerPerField.$assertionsDisabled:Z
ifne 6
iload 1
ifge 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: int org.apache.lucene.util.BytesRef
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termVectorsPostingsArray:Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
astore 3
start local 3 7: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
getfield org.apache.lucene.index.TermVectorsConsumer.writer:Lorg/apache/lucene/codecs/TermVectorsWriter;
astore 4
start local 4 8: aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.sortTerms:()V
9: aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getSortedTermIDs:()[I
astore 5
start local 5 10: aload 4
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
iload 1
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.hasPayloads:Z
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.startField:(Lorg/apache/lucene/index/FieldInfo;IZZZ)V
11: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
ifeq 12
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
getfield org.apache.lucene.index.TermVectorsConsumer.vectorSliceReaderPos:Lorg/apache/lucene/index/ByteSliceReader;
goto 13
StackMap locals: org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray org.apache.lucene.codecs.TermVectorsWriter int[]
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: org.apache.lucene.index.ByteSliceReader
13: astore 6
start local 6 14: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
ifeq 15
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
getfield org.apache.lucene.index.TermVectorsConsumer.vectorSliceReaderOff:Lorg/apache/lucene/index/ByteSliceReader;
goto 16
StackMap locals: org.apache.lucene.index.ByteSliceReader
StackMap stack:
15: aconst_null
StackMap locals:
StackMap stack: org.apache.lucene.index.ByteSliceReader
16: astore 7
start local 7 17: iconst_0
istore 8
start local 8 18: goto 31
19: StackMap locals: org.apache.lucene.index.ByteSliceReader int
StackMap stack:
aload 5
iload 8
iaload
istore 9
start local 9 20: aload 3
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.freqs:[I
iload 9
iaload
istore 10
start local 10 21: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termBytePool:Lorg/apache/lucene/util/ByteBlockPool;
aload 2
aload 3
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.textStarts:[I
iload 9
iaload
invokevirtual org.apache.lucene.util.ByteBlockPool.setBytesRef:(Lorg/apache/lucene/util/BytesRef;I)V
22: aload 4
aload 2
iload 10
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.startTerm:(Lorg/apache/lucene/util/BytesRef;I)V
23: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
ifne 24
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
ifeq 29
24: StackMap locals: int int
StackMap stack:
aload 6
ifnull 26
25: aload 0
aload 6
iload 9
iconst_0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.initReader:(Lorg/apache/lucene/index/ByteSliceReader;II)V
26: StackMap locals:
StackMap stack:
aload 7
ifnull 28
27: aload 0
aload 7
iload 9
iconst_1
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.initReader:(Lorg/apache/lucene/index/ByteSliceReader;II)V
28: StackMap locals:
StackMap stack:
aload 4
iload 10
aload 6
aload 7
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.addProx:(ILorg/apache/lucene/store/DataInput;Lorg/apache/lucene/store/DataInput;)V
29: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.finishTerm:()V
end local 10 end local 9 30: iinc 8 1
StackMap locals:
StackMap stack:
31: iload 8
iload 1
if_icmplt 19
end local 8 32: aload 4
invokevirtual org.apache.lucene.codecs.TermVectorsWriter.finishField:()V
33: aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.reset:()V
34: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldInfo:Lorg/apache/lucene/index/FieldInfo;
invokevirtual org.apache.lucene.index.FieldInfo.setStoreTermVectors:()V
35: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
4 36 1 numPostings I
5 36 2 flushTerm Lorg/apache/lucene/util/BytesRef;
7 36 3 postings Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
8 36 4 tv Lorg/apache/lucene/codecs/TermVectorsWriter;
10 36 5 termIDs [I
14 36 6 posReader Lorg/apache/lucene/index/ByteSliceReader;
17 36 7 offReader Lorg/apache/lucene/index/ByteSliceReader;
18 32 8 j I
20 30 9 termID I
21 30 10 freq I
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=5, 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.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.termFreqAttribute:Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
putfield org.apache.lucene.index.TermVectorsConsumerPerField.termFreqAtt:Lorg/apache/lucene/analysis/tokenattributes/TermFrequencyAttribute;
2: getstatic org.apache.lucene.index.TermVectorsConsumerPerField.$assertionsDisabled:Z
ifne 3
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.indexOptions:()Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 2
ifeq 25
4: aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getNumTerms:()I
ifeq 6
5: aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.reset:()V
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.reinitHash:()V
7: aload 0
iconst_0
putfield org.apache.lucene.index.TermVectorsConsumerPerField.hasPayloads:Z
8: aload 0
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectors:()Z
putfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
9: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
ifeq 19
10: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termsWriter:Lorg/apache/lucene/index/TermVectorsConsumer;
iconst_1
putfield org.apache.lucene.index.TermVectorsConsumer.hasVectors:Z
11: aload 0
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPositions:()Z
putfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
12: aload 0
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorOffsets:()Z
putfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
13: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
ifeq 16
14: aload 0
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPayloads:()Z
putfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPayloads:Z
15: goto 33
16: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPayloads:Z
17: aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPayloads:()Z
ifeq 33
18: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot index term vector payloads without term vector positions (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorOffsets:()Z
ifeq 21
20: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot index term vector offsets when term vectors are not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPositions:()Z
ifeq 23
22: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot index term vector positions when term vectors are not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPayloads:()Z
ifeq 33
24: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot index term vector payloads when term vectors are not indexed (field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectors:()Z
if_icmpeq 27
26: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "all instances of a given field name must have the same term vectors settings (storeTermVectors changed for field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPositions:()Z
if_icmpeq 29
28: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "all instances of a given field name must have the same term vectors settings (storeTermVectorPositions changed for field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorOffsets:()Z
if_icmpeq 31
30: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "all instances of a given field name must have the same term vectors settings (storeTermVectorOffsets changed for field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPayloads:Z
aload 1
invokeinterface org.apache.lucene.index.IndexableField.fieldType:()Lorg/apache/lucene/index/IndexableFieldType;
invokeinterface org.apache.lucene.index.IndexableFieldType.storeTermVectorPayloads:()Z
if_icmpeq 33
32: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "all instances of a given field name must have the same term vectors settings (storeTermVectorPayloads changed for field=\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.apache.lucene.index.IndexableField.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
ifeq 41
34: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
ifeq 37
35: aload 0
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
putfield org.apache.lucene.index.TermVectorsConsumerPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
36: getstatic org.apache.lucene.index.TermVectorsConsumerPerField.$assertionsDisabled:Z
ifne 37
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
ifnonnull 37
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
37: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPayloads:Z
ifeq 40
38: aload 0
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
putfield org.apache.lucene.index.TermVectorsConsumerPerField.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
39: goto 41
40: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.lucene.index.TermVectorsConsumerPerField.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
41: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectors:Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
0 42 1 field Lorg/apache/lucene/index/IndexableField;
0 42 2 first Z
MethodParameters:
Name Flags
field
first
void writeProx(org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray, int);
descriptor: (Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;I)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
ifeq 6
1: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offset:I
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.startOffset:()I
iadd
istore 3
start local 3 2: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.offset:I
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.offsetAttribute:Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.endOffset:()I
iadd
istore 4
start local 4 3: aload 0
iconst_1
iload 3
aload 1
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.lastOffsets:[I
iload 2
iaload
isub
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeVInt:(II)V
4: aload 0
iconst_1
iload 4
iload 3
isub
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeVInt:(II)V
5: aload 1
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.lastOffsets:[I
iload 2
iload 4
iastore
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
ifeq 20
7: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.payloadAttribute:Lorg/apache/lucene/analysis/tokenattributes/PayloadAttribute;
ifnonnull 10
8: aconst_null
astore 3
start local 3 9: goto 11
end local 3 10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.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 11: StackMap locals: org.apache.lucene.util.BytesRef
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.position:I
aload 1
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.lastPositions:[I
iload 2
iaload
isub
istore 4
start local 4 12: aload 3
ifnull 18
aload 3
getfield org.apache.lucene.util.BytesRef.length:I
ifle 18
13: aload 0
iconst_0
iload 4
iconst_1
ishl
iconst_1
ior
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeVInt:(II)V
14: aload 0
iconst_0
aload 3
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeVInt:(II)V
15: aload 0
iconst_0
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.TermVectorsConsumerPerField.writeBytes:(I[BII)V
16: aload 0
iconst_1
putfield org.apache.lucene.index.TermVectorsConsumerPerField.hasPayloads:Z
17: goto 19
18: StackMap locals: int
StackMap stack:
aload 0
iconst_0
iload 4
iconst_1
ishl
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeVInt:(II)V
19: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.lastPositions:[I
iload 2
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.fieldState:Lorg/apache/lucene/index/FieldInvertState;
getfield org.apache.lucene.index.FieldInvertState.position:I
iastore
end local 4 end local 3 20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
0 21 1 postings Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
0 21 2 termID I
2 6 3 startOffset I
3 6 4 endOffset I
9 10 3 payload Lorg/apache/lucene/util/BytesRef;
11 20 3 payload Lorg/apache/lucene/util/BytesRef;
12 20 4 pos I
MethodParameters:
Name Flags
postings
termID
void newTerm(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.termVectorsPostingsArray:Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
astore 3
start local 3 1: aload 3
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.freqs:[I
iload 1
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getTermFreq:()I
iastore
2: aload 3
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.lastOffsets:[I
iload 1
iconst_0
iastore
3: aload 3
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.lastPositions:[I
iload 1
iconst_0
iastore
4: aload 0
aload 3
iload 1
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeProx:(Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;I)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
0 6 1 termID I
0 6 2 docID I
1 6 3 postings Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
MethodParameters:
Name Flags
termID final
docID final
void addTerm(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.TermVectorsConsumerPerField.termVectorsPostingsArray:Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
astore 3
start local 3 1: aload 3
getfield org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.freqs:[I
iload 1
dup2
iaload
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getTermFreq:()I
iadd
iastore
2: aload 0
aload 3
iload 1
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.writeProx:(Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;I)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
0 4 1 termID I
0 4 2 docID I
1 4 3 postings Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
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.TermVectorsConsumerPerField.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 6
2: aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorPositions:Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "field \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getFieldName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": cannot index term vector 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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.index.TermVectorsConsumerPerField.doVectorOffsets:Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "field \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.index.TermVectorsConsumerPerField.getFieldName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": cannot index term vector offsets 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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
1 7 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.TermVectorsConsumerPerField.postingsArray:Lorg/apache/lucene/index/ParallelPostingsArray;
checkcast org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray
putfield org.apache.lucene.index.TermVectorsConsumerPerField.termVectorsPostingsArray:Lorg/apache/lucene/index/TermVectorsConsumerPerField$TermVectorsPostingsArray;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
org.apache.lucene.index.ParallelPostingsArray createPostingsArray(int);
descriptor: (I)Lorg/apache/lucene/index/ParallelPostingsArray;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray
dup
iload 1
invokespecial org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/TermVectorsConsumerPerField;
0 1 1 size I
MethodParameters:
Name Flags
size
}
SourceFile: "TermVectorsConsumerPerField.java"
NestMembers:
org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray
InnerClasses:
final TermVectorsPostingsArray = org.apache.lucene.index.TermVectorsConsumerPerField$TermVectorsPostingsArray of org.apache.lucene.index.TermVectorsConsumerPerField