final class org.apache.lucene.index.FreqProxTermsWriter extends org.apache.lucene.index.TermsHash
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.FreqProxTermsWriter
super_class: org.apache.lucene.index.TermsHash
{
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/FreqProxTermsWriter;
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.FreqProxTermsWriter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.util.IntBlockPool$Allocator, org.apache.lucene.util.ByteBlockPool$Allocator, org.apache.lucene.util.Counter, org.apache.lucene.index.TermsHash);
descriptor: (Lorg/apache/lucene/util/IntBlockPool$Allocator;Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/TermsHash;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.apache.lucene.index.TermsHash.<init>:(Lorg/apache/lucene/util/IntBlockPool$Allocator;Lorg/apache/lucene/util/ByteBlockPool$Allocator;Lorg/apache/lucene/util/Counter;Lorg/apache/lucene/index/TermsHash;)V
1: return
end local 4 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/FreqProxTermsWriter;
0 2 1 intBlockAllocator Lorg/apache/lucene/util/IntBlockPool$Allocator;
0 2 2 byteBlockAllocator Lorg/apache/lucene/util/ByteBlockPool$Allocator;
0 2 3 bytesUsed Lorg/apache/lucene/util/Counter;
0 2 4 termVectors Lorg/apache/lucene/index/TermsHash;
MethodParameters:
Name Flags
intBlockAllocator final
byteBlockAllocator final
bytesUsed
termVectors
private void applyDeletes(org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Fields);
descriptor: (Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Fields;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segUpdates:Lorg/apache/lucene/index/BufferedUpdates;
ifnull 20
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segUpdates:Lorg/apache/lucene/index/BufferedUpdates;
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifle 20
1: aload 1
getfield org.apache.lucene.index.SegmentWriteState.segUpdates:Lorg/apache/lucene/index/BufferedUpdates;
getfield org.apache.lucene.index.BufferedUpdates.deleteTerms:Ljava/util/Map;
astore 3
start local 3 2: new java.util.ArrayList
dup
aload 3
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 3: aload 4
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
4: new org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator
dup
aload 2
iconst_1
invokespecial org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator.<init>:(Lorg/apache/lucene/index/Fields;Z)V
astore 5
start local 5 5: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 19
StackMap locals: org.apache.lucene.index.FreqProxTermsWriter org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Fields java.util.Map java.util.List org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.Term
astore 6
start local 6 7: aload 5
aload 6
invokevirtual org.apache.lucene.index.Term.field:()Ljava/lang/String;
aload 6
invokevirtual org.apache.lucene.index.Term.bytes:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator.nextTerm:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/search/DocIdSetIterator;
astore 8
start local 8 8: aload 8
ifnull 19
9: aload 3
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 9
start local 9 10: getstatic org.apache.lucene.index.FreqProxTermsWriter.$assertionsDisabled:Z
ifne 17
iload 9
ldc 2147483647
if_icmplt 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
start local 10 11: StackMap locals: org.apache.lucene.index.FreqProxTermsWriter org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Fields java.util.Map java.util.List org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator org.apache.lucene.index.Term java.util.Iterator org.apache.lucene.search.DocIdSetIterator int int
StackMap stack:
aload 1
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
ifnonnull 14
12: aload 1
new org.apache.lucene.util.FixedBitSet
dup
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokespecial org.apache.lucene.util.FixedBitSet.<init>:(I)V
putfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
13: aload 1
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
iconst_0
aload 1
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.maxDoc:()I
invokevirtual org.apache.lucene.util.FixedBitSet.set:(II)V
14: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
iload 10
invokevirtual org.apache.lucene.util.FixedBitSet.get:(I)Z
ifeq 17
15: aload 1
dup
getfield org.apache.lucene.index.SegmentWriteState.delCountOnFlush:I
iconst_1
iadd
putfield org.apache.lucene.index.SegmentWriteState.delCountOnFlush:I
16: aload 1
getfield org.apache.lucene.index.SegmentWriteState.liveDocs:Lorg/apache/lucene/util/FixedBitSet;
iload 10
invokevirtual org.apache.lucene.util.FixedBitSet.clear:(I)V
end local 10 17: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.apache.lucene.search.DocIdSetIterator.nextDoc:()I
dup
istore 10
start local 10 18: iload 9
if_icmplt 11
end local 10 end local 9 end local 8 end local 6 19: StackMap locals: org.apache.lucene.index.FreqProxTermsWriter org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Fields java.util.Map java.util.List org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 5 end local 4 end local 3 20: StackMap locals: org.apache.lucene.index.FreqProxTermsWriter org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Fields
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/FreqProxTermsWriter;
0 21 1 state Lorg/apache/lucene/index/SegmentWriteState;
0 21 2 fields Lorg/apache/lucene/index/Fields;
2 20 3 segDeletes Ljava/util/Map<Lorg/apache/lucene/index/Term;Ljava/lang/Integer;>;
3 20 4 deleteTerms Ljava/util/List<Lorg/apache/lucene/index/Term;>;
5 20 5 iterator Lorg/apache/lucene/index/FrozenBufferedUpdates$TermDocsIterator;
7 19 6 deleteTerm Lorg/apache/lucene/index/Term;
8 19 8 postings Lorg/apache/lucene/search/DocIdSetIterator;
10 19 9 delDocLimit I
11 17 10 doc I
18 19 10 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
fields
public void flush(java.util.Map<java.lang.String, org.apache.lucene.index.TermsHashPerField>, org.apache.lucene.index.SegmentWriteState, org.apache.lucene.index.Sorter$DocMap, org.apache.lucene.codecs.NormsProducer);
descriptor: (Ljava/util/Map;Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/NormsProducer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.apache.lucene.index.TermsHash.flush:(Ljava/util/Map;Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/NormsProducer;)V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 2: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: org.apache.lucene.index.FreqProxTermsWriter java.util.Map org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.NormsProducer java.util.List top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.index.TermsHashPerField
astore 6
start local 6 4: aload 6
checkcast org.apache.lucene.index.FreqProxTermsWriterPerField
astore 8
start local 8 5: aload 8
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.getNumTerms:()I
ifle 9
6: aload 8
invokevirtual org.apache.lucene.index.FreqProxTermsWriterPerField.sortTerms:()V
7: getstatic org.apache.lucene.index.FreqProxTermsWriter.$assertionsDisabled:Z
ifne 8
aload 8
getfield org.apache.lucene.index.FreqProxTermsWriterPerField.indexOptions:Lorg/apache/lucene/index/IndexOptions;
getstatic org.apache.lucene.index.IndexOptions.NONE:Lorg/apache/lucene/index/IndexOptions;
if_acmpne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: org.apache.lucene.index.FreqProxTermsWriter java.util.Map org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.NormsProducer java.util.List org.apache.lucene.index.TermsHashPerField java.util.Iterator org.apache.lucene.index.FreqProxTermsWriterPerField
StackMap stack:
aload 5
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 9: StackMap locals: org.apache.lucene.index.FreqProxTermsWriter java.util.Map org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.NormsProducer java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 5
invokestatic org.apache.lucene.util.CollectionUtil.introSort:(Ljava/util/List;)V
11: new org.apache.lucene.index.FreqProxFields
dup
aload 5
invokespecial org.apache.lucene.index.FreqProxFields.<init>:(Ljava/util/List;)V
astore 6
start local 6 12: aload 0
aload 2
aload 6
invokevirtual org.apache.lucene.index.FreqProxTermsWriter.applyDeletes:(Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Fields;)V
13: aload 3
ifnull 17
14: aload 3
astore 7
start local 7 15: aload 2
getfield org.apache.lucene.index.SegmentWriteState.fieldInfos:Lorg/apache/lucene/index/FieldInfos;
astore 8
start local 8 16: new org.apache.lucene.index.FreqProxTermsWriter$1
dup
aload 0
aload 6
aload 8
aload 7
invokespecial org.apache.lucene.index.FreqProxTermsWriter$1.<init>:(Lorg/apache/lucene/index/FreqProxTermsWriter;Lorg/apache/lucene/index/Fields;Lorg/apache/lucene/index/FieldInfos;Lorg/apache/lucene/index/Sorter$DocMap;)V
astore 6
end local 8 end local 7 17: StackMap locals: org.apache.lucene.index.FreqProxTermsWriter java.util.Map org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.NormsProducer java.util.List org.apache.lucene.index.Fields
StackMap stack:
aload 2
getfield org.apache.lucene.index.SegmentWriteState.segmentInfo:Lorg/apache/lucene/index/SegmentInfo;
invokevirtual org.apache.lucene.index.SegmentInfo.getCodec:()Lorg/apache/lucene/codecs/Codec;
invokevirtual org.apache.lucene.codecs.Codec.postingsFormat:()Lorg/apache/lucene/codecs/PostingsFormat;
aload 2
invokevirtual org.apache.lucene.codecs.PostingsFormat.fieldsConsumer:(Lorg/apache/lucene/index/SegmentWriteState;)Lorg/apache/lucene/codecs/FieldsConsumer;
astore 7
start local 7 18: iconst_0
istore 8
start local 8 19: aload 7
aload 6
aload 4
invokevirtual org.apache.lucene.codecs.FieldsConsumer.write:(Lorg/apache/lucene/index/Fields;Lorg/apache/lucene/codecs/NormsProducer;)V
20: iconst_1
istore 8
21: goto 29
StackMap locals: org.apache.lucene.index.FreqProxTermsWriter java.util.Map org.apache.lucene.index.SegmentWriteState org.apache.lucene.index.Sorter$DocMap org.apache.lucene.codecs.NormsProducer java.util.List org.apache.lucene.index.Fields org.apache.lucene.codecs.FieldsConsumer int
StackMap stack: java.lang.Throwable
22: astore 9
23: iload 8
ifeq 26
iconst_1
anewarray java.io.Closeable
dup
iconst_0
24: aload 7
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
25: goto 28
StackMap locals: java.lang.Throwable
StackMap stack:
26: iconst_1
anewarray java.io.Closeable
dup
iconst_0
27: aload 7
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
28: StackMap locals:
StackMap stack:
aload 9
athrow
29: StackMap locals:
StackMap stack:
iload 8
ifeq 32
iconst_1
anewarray java.io.Closeable
dup
iconst_0
30: aload 7
aastore
invokestatic org.apache.lucene.util.IOUtils.close:([Ljava/io/Closeable;)V
31: goto 34
StackMap locals:
StackMap stack:
32: iconst_1
anewarray java.io.Closeable
dup
iconst_0
33: aload 7
aastore
invokestatic org.apache.lucene.util.IOUtils.closeWhileHandlingException:([Ljava/io/Closeable;)V
34: 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 35 0 this Lorg/apache/lucene/index/FreqProxTermsWriter;
0 35 1 fieldsToFlush Ljava/util/Map<Ljava/lang/String;Lorg/apache/lucene/index/TermsHashPerField;>;
0 35 2 state Lorg/apache/lucene/index/SegmentWriteState;
0 35 3 sortMap Lorg/apache/lucene/index/Sorter$DocMap;
0 35 4 norms Lorg/apache/lucene/codecs/NormsProducer;
2 35 5 allFields Ljava/util/List<Lorg/apache/lucene/index/FreqProxTermsWriterPerField;>;
4 9 6 f Lorg/apache/lucene/index/TermsHashPerField;
5 9 8 perField Lorg/apache/lucene/index/FreqProxTermsWriterPerField;
12 35 6 fields Lorg/apache/lucene/index/Fields;
15 17 7 docMap Lorg/apache/lucene/index/Sorter$DocMap;
16 17 8 infos Lorg/apache/lucene/index/FieldInfos;
18 35 7 consumer Lorg/apache/lucene/codecs/FieldsConsumer;
19 35 8 success Z
Exception table:
from to target type
19 22 22 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Lorg/apache/lucene/index/TermsHashPerField;>;Lorg/apache/lucene/index/SegmentWriteState;Lorg/apache/lucene/index/Sorter$DocMap;Lorg/apache/lucene/codecs/NormsProducer;)V
MethodParameters:
Name Flags
fieldsToFlush
state final
sortMap
norms
public org.apache.lucene.index.TermsHashPerField addField(org.apache.lucene.index.FieldInvertState, org.apache.lucene.index.FieldInfo);
descriptor: (Lorg/apache/lucene/index/FieldInvertState;Lorg/apache/lucene/index/FieldInfo;)Lorg/apache/lucene/index/TermsHashPerField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.index.FreqProxTermsWriterPerField
dup
aload 1
aload 0
aload 2
aload 0
getfield org.apache.lucene.index.FreqProxTermsWriter.nextTermsHash:Lorg/apache/lucene/index/TermsHash;
aload 1
aload 2
invokevirtual org.apache.lucene.index.TermsHash.addField:(Lorg/apache/lucene/index/FieldInvertState;Lorg/apache/lucene/index/FieldInfo;)Lorg/apache/lucene/index/TermsHashPerField;
invokespecial org.apache.lucene.index.FreqProxTermsWriterPerField.<init>:(Lorg/apache/lucene/index/FieldInvertState;Lorg/apache/lucene/index/TermsHash;Lorg/apache/lucene/index/FieldInfo;Lorg/apache/lucene/index/TermsHashPerField;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/FreqProxTermsWriter;
0 1 1 invertState Lorg/apache/lucene/index/FieldInvertState;
0 1 2 fieldInfo Lorg/apache/lucene/index/FieldInfo;
MethodParameters:
Name Flags
invertState
fieldInfo
}
SourceFile: "FreqProxTermsWriter.java"
NestMembers:
org.apache.lucene.index.FreqProxTermsWriter$1 org.apache.lucene.index.FreqProxTermsWriter$SortingDocsEnum org.apache.lucene.index.FreqProxTermsWriter$SortingDocsEnum$DocFreqSorter org.apache.lucene.index.FreqProxTermsWriter$SortingPostingsEnum org.apache.lucene.index.FreqProxTermsWriter$SortingPostingsEnum$DocOffsetSorter org.apache.lucene.index.FreqProxTermsWriter$SortingTerms org.apache.lucene.index.FreqProxTermsWriter$SortingTermsEnum
InnerClasses:
org.apache.lucene.index.FreqProxTermsWriter$1
SortingDocsEnum = org.apache.lucene.index.FreqProxTermsWriter$SortingDocsEnum of org.apache.lucene.index.FreqProxTermsWriter
SortingPostingsEnum = org.apache.lucene.index.FreqProxTermsWriter$SortingPostingsEnum of org.apache.lucene.index.FreqProxTermsWriter
SortingTerms = org.apache.lucene.index.FreqProxTermsWriter$SortingTerms of org.apache.lucene.index.FreqProxTermsWriter
private SortingTermsEnum = org.apache.lucene.index.FreqProxTermsWriter$SortingTermsEnum of org.apache.lucene.index.FreqProxTermsWriter
final TermDocsIterator = org.apache.lucene.index.FrozenBufferedUpdates$TermDocsIterator of org.apache.lucene.index.FrozenBufferedUpdates
abstract DocMap = org.apache.lucene.index.Sorter$DocMap of org.apache.lucene.index.Sorter
public abstract Allocator = org.apache.lucene.util.ByteBlockPool$Allocator of org.apache.lucene.util.ByteBlockPool
public abstract Allocator = org.apache.lucene.util.IntBlockPool$Allocator of org.apache.lucene.util.IntBlockPool