public final class org.apache.lucene.index.IndexWriterConfig extends org.apache.lucene.index.LiveIndexWriterConfig
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.IndexWriterConfig
super_class: org.apache.lucene.index.LiveIndexWriterConfig
{
public static final int DISABLE_AUTO_FLUSH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int DEFAULT_MAX_BUFFERED_DELETE_TERMS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int DEFAULT_MAX_BUFFERED_DOCS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final double DEFAULT_RAM_BUFFER_SIZE_MB;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16.0
public static final boolean DEFAULT_READER_POOLING;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int DEFAULT_RAM_PER_THREAD_HARD_LIMIT_MB;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1945
public static final boolean DEFAULT_USE_COMPOUND_FILE_SYSTEM;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final boolean DEFAULT_COMMIT_ON_CLOSE;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final long DEFAULT_MAX_FULL_FLUSH_MERGE_WAIT_MILLIS;
descriptor: J
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private org.apache.lucene.util.SetOnce<org.apache.lucene.index.IndexWriter> writer;
descriptor: Lorg/apache/lucene/util/SetOnce;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/lucene/util/SetOnce<Lorg/apache/lucene/index/IndexWriter;>;
org.apache.lucene.index.IndexWriterConfig setIndexWriter(org.apache.lucene.index.IndexWriter);
descriptor: (Lorg/apache/lucene/index/IndexWriter;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.writer:Lorg/apache/lucene/util/SetOnce;
invokevirtual org.apache.lucene.util.SetOnce.get:()Ljava/lang/Object;
ifnull 2
1: new java.lang.IllegalStateException
dup
ldc "do not share IndexWriterConfig instances across IndexWriters"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.IndexWriterConfig.writer:Lorg/apache/lucene/util/SetOnce;
aload 1
invokevirtual org.apache.lucene.util.SetOnce.set:(Ljava/lang/Object;)V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 writer Lorg/apache/lucene/index/IndexWriter;
MethodParameters:
Name Flags
writer
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.apache.lucene.analysis.standard.StandardAnalyzer
dup
invokespecial org.apache.lucene.analysis.standard.StandardAnalyzer.<init>:()V
invokespecial org.apache.lucene.index.IndexWriterConfig.<init>:(Lorg/apache/lucene/analysis/Analyzer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public void <init>(org.apache.lucene.analysis.Analyzer);
descriptor: (Lorg/apache/lucene/analysis/Analyzer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.<init>:(Lorg/apache/lucene/analysis/Analyzer;)V
1: aload 0
new org.apache.lucene.util.SetOnce
dup
invokespecial org.apache.lucene.util.SetOnce.<init>:()V
putfield org.apache.lucene.index.IndexWriterConfig.writer:Lorg/apache/lucene/util/SetOnce;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 3 1 analyzer Lorg/apache/lucene/analysis/Analyzer;
MethodParameters:
Name Flags
analyzer
public org.apache.lucene.index.IndexWriterConfig setOpenMode(org.apache.lucene.index.IndexWriterConfig$OpenMode);
descriptor: (Lorg/apache/lucene/index/IndexWriterConfig$OpenMode;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "openMode must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.openMode:Lorg/apache/lucene/index/IndexWriterConfig$OpenMode;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 openMode Lorg/apache/lucene/index/IndexWriterConfig$OpenMode;
MethodParameters:
Name Flags
openMode
public org.apache.lucene.index.IndexWriterConfig$OpenMode getOpenMode();
descriptor: ()Lorg/apache/lucene/index/IndexWriterConfig$OpenMode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.openMode:Lorg/apache/lucene/index/IndexWriterConfig$OpenMode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setIndexCreatedVersionMajor(int);
descriptor: (I)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
getfield org.apache.lucene.util.Version.major:I
if_icmple 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "indexCreatedVersionMajor may not be in the future: current major version is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
getfield org.apache.lucene.util.Version.major:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", but got: "
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;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
getfield org.apache.lucene.util.Version.major:I
iconst_1
isub
if_icmpge 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "indexCreatedVersionMajor may not be less than the minimum supported version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
getfield org.apache.lucene.util.Version.major:I
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", but got: "
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;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.lucene.index.IndexWriterConfig.createdVersionMajor:I
9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 10 1 indexCreatedVersionMajor I
MethodParameters:
Name Flags
indexCreatedVersionMajor
public org.apache.lucene.index.IndexWriterConfig setIndexDeletionPolicy(org.apache.lucene.index.IndexDeletionPolicy);
descriptor: (Lorg/apache/lucene/index/IndexDeletionPolicy;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "indexDeletionPolicy must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.delPolicy:Lorg/apache/lucene/index/IndexDeletionPolicy;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 delPolicy Lorg/apache/lucene/index/IndexDeletionPolicy;
MethodParameters:
Name Flags
delPolicy
public org.apache.lucene.index.IndexDeletionPolicy getIndexDeletionPolicy();
descriptor: ()Lorg/apache/lucene/index/IndexDeletionPolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.delPolicy:Lorg/apache/lucene/index/IndexDeletionPolicy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setIndexCommit(org.apache.lucene.index.IndexCommit);
descriptor: (Lorg/apache/lucene/index/IndexCommit;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.commit:Lorg/apache/lucene/index/IndexCommit;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 2 1 commit Lorg/apache/lucene/index/IndexCommit;
MethodParameters:
Name Flags
commit
public org.apache.lucene.index.IndexCommit getIndexCommit();
descriptor: ()Lorg/apache/lucene/index/IndexCommit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.commit:Lorg/apache/lucene/index/IndexCommit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setSimilarity(org.apache.lucene.search.similarities.Similarity);
descriptor: (Lorg/apache/lucene/search/similarities/Similarity;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "similarity must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.similarity:Lorg/apache/lucene/search/similarities/Similarity;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 similarity Lorg/apache/lucene/search/similarities/Similarity;
MethodParameters:
Name Flags
similarity
public org.apache.lucene.search.similarities.Similarity getSimilarity();
descriptor: ()Lorg/apache/lucene/search/similarities/Similarity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.similarity:Lorg/apache/lucene/search/similarities/Similarity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setMergeScheduler(org.apache.lucene.index.MergeScheduler);
descriptor: (Lorg/apache/lucene/index/MergeScheduler;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "mergeScheduler must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.mergeScheduler:Lorg/apache/lucene/index/MergeScheduler;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 mergeScheduler Lorg/apache/lucene/index/MergeScheduler;
MethodParameters:
Name Flags
mergeScheduler
public org.apache.lucene.index.MergeScheduler getMergeScheduler();
descriptor: ()Lorg/apache/lucene/index/MergeScheduler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.mergeScheduler:Lorg/apache/lucene/index/MergeScheduler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setCodec(org.apache.lucene.codecs.Codec);
descriptor: (Lorg/apache/lucene/codecs/Codec;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "codec must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.codec:Lorg/apache/lucene/codecs/Codec;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 codec Lorg/apache/lucene/codecs/Codec;
MethodParameters:
Name Flags
codec
public org.apache.lucene.codecs.Codec getCodec();
descriptor: ()Lorg/apache/lucene/codecs/Codec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.codec:Lorg/apache/lucene/codecs/Codec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.MergePolicy getMergePolicy();
descriptor: ()Lorg/apache/lucene/index/MergePolicy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.mergePolicy:Lorg/apache/lucene/index/MergePolicy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setReaderPooling(boolean);
descriptor: (Z)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.index.IndexWriterConfig.readerPooling:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 2 1 readerPooling Z
MethodParameters:
Name Flags
readerPooling
public boolean getReaderPooling();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.readerPooling:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
org.apache.lucene.index.IndexWriterConfig setFlushPolicy(org.apache.lucene.index.FlushPolicy);
descriptor: (Lorg/apache/lucene/index/FlushPolicy;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "flushPolicy must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.flushPolicy:Lorg/apache/lucene/index/FlushPolicy;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 flushPolicy Lorg/apache/lucene/index/FlushPolicy;
MethodParameters:
Name Flags
flushPolicy
public org.apache.lucene.index.IndexWriterConfig setRAMPerThreadHardLimitMB(int);
descriptor: (I)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
iload 1
sipush 2048
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "PerThreadHardLimit must be greater than 0 and less than 2048MB"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.lucene.index.IndexWriterConfig.perThreadHardLimitMB:I
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 perThreadHardLimitMB I
MethodParameters:
Name Flags
perThreadHardLimitMB
public int getRAMPerThreadHardLimitMB();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.perThreadHardLimitMB:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
org.apache.lucene.index.FlushPolicy getFlushPolicy();
descriptor: ()Lorg/apache/lucene/index/FlushPolicy;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.flushPolicy:Lorg/apache/lucene/index/FlushPolicy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.util.InfoStream getInfoStream();
descriptor: ()Lorg/apache/lucene/util/InfoStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.IndexWriterConfig.infoStream:Lorg/apache/lucene/util/InfoStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.analysis.Analyzer getAnalyzer();
descriptor: ()Lorg/apache/lucene/analysis/Analyzer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.getAnalyzer:()Lorg/apache/lucene/analysis/Analyzer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public int getMaxBufferedDocs();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.getMaxBufferedDocs:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriter$IndexReaderWarmer getMergedSegmentWarmer();
descriptor: ()Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.getMergedSegmentWarmer:()Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public double getRAMBufferSizeMB();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.getRAMBufferSizeMB:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
public org.apache.lucene.index.IndexWriterConfig setInfoStream(org.apache.lucene.util.InfoStream);
descriptor: (Lorg/apache/lucene/util/InfoStream;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Cannot set InfoStream implementation to null. To disable logging use InfoStream.NO_OUTPUT"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.infoStream:Lorg/apache/lucene/util/InfoStream;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 4 1 infoStream Lorg/apache/lucene/util/InfoStream;
MethodParameters:
Name Flags
infoStream
public org.apache.lucene.index.IndexWriterConfig setInfoStream(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)Lorg/apache/lucene/index/IndexWriterConfig;
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 "printStream must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new org.apache.lucene.util.PrintStreamInfoStream
dup
aload 1
invokespecial org.apache.lucene.util.PrintStreamInfoStream.<init>:(Ljava/io/PrintStream;)V
invokevirtual org.apache.lucene.index.IndexWriterConfig.setInfoStream:(Lorg/apache/lucene/util/InfoStream;)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 3 1 printStream Ljava/io/PrintStream;
MethodParameters:
Name Flags
printStream
public org.apache.lucene.index.IndexWriterConfig setMergePolicy(org.apache.lucene.index.MergePolicy);
descriptor: (Lorg/apache/lucene/index/MergePolicy;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.setMergePolicy:(Lorg/apache/lucene/index/MergePolicy;)Lorg/apache/lucene/index/LiveIndexWriterConfig;
checkcast org.apache.lucene.index.IndexWriterConfig
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 1 1 mergePolicy Lorg/apache/lucene/index/MergePolicy;
MethodParameters:
Name Flags
mergePolicy
public org.apache.lucene.index.IndexWriterConfig setMaxBufferedDocs(int);
descriptor: (I)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.setMaxBufferedDocs:(I)Lorg/apache/lucene/index/LiveIndexWriterConfig;
checkcast org.apache.lucene.index.IndexWriterConfig
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 1 1 maxBufferedDocs I
MethodParameters:
Name Flags
maxBufferedDocs
public org.apache.lucene.index.IndexWriterConfig setMergedSegmentWarmer(org.apache.lucene.index.IndexWriter$IndexReaderWarmer);
descriptor: (Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.setMergedSegmentWarmer:(Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;)Lorg/apache/lucene/index/LiveIndexWriterConfig;
checkcast org.apache.lucene.index.IndexWriterConfig
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 1 1 mergeSegmentWarmer Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;
MethodParameters:
Name Flags
mergeSegmentWarmer
public org.apache.lucene.index.IndexWriterConfig setRAMBufferSizeMB(double);
descriptor: (D)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.setRAMBufferSizeMB:(D)Lorg/apache/lucene/index/LiveIndexWriterConfig;
checkcast org.apache.lucene.index.IndexWriterConfig
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 1 1 ramBufferSizeMB D
MethodParameters:
Name Flags
ramBufferSizeMB
public org.apache.lucene.index.IndexWriterConfig setUseCompoundFile(boolean);
descriptor: (Z)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.setUseCompoundFile:(Z)Lorg/apache/lucene/index/LiveIndexWriterConfig;
checkcast org.apache.lucene.index.IndexWriterConfig
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 1 1 useCompoundFile Z
MethodParameters:
Name Flags
useCompoundFile
public org.apache.lucene.index.IndexWriterConfig setCommitOnClose(boolean);
descriptor: (Z)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.index.IndexWriterConfig.commitOnClose:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 2 1 commitOnClose Z
MethodParameters:
Name Flags
commitOnClose
public org.apache.lucene.index.IndexWriterConfig setMaxFullFlushMergeWaitMillis(long);
descriptor: (J)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.apache.lucene.index.IndexWriterConfig.maxFullFlushMergeWaitMillis:J
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 2 1 maxFullFlushMergeWaitMillis J
MethodParameters:
Name Flags
maxFullFlushMergeWaitMillis
public org.apache.lucene.index.IndexWriterConfig setIndexSort(org.apache.lucene.search.Sort);
descriptor: (Lorg/apache/lucene/search/Sort;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.search.Sort.getSort:()[Lorg/apache/lucene/search/SortField;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.apache.lucene.index.IndexWriterConfig org.apache.lucene.search.Sort top int int org.apache.lucene.search.SortField[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
invokevirtual org.apache.lucene.search.SortField.getIndexSorter:()Lorg/apache/lucene/index/IndexSorter;
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot sort index with sort field "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.indexSort:Lorg/apache/lucene/search/Sort;
7: aload 0
aload 1
invokevirtual org.apache.lucene.search.Sort.getSort:()[Lorg/apache/lucene/search/SortField;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/lucene/search/SortField.getField()Ljava/lang/String; (5)
(Lorg/apache/lucene/search/SortField;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
putfield org.apache.lucene.index.IndexWriterConfig.indexSortFields:Ljava/util/Set;
8: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 9 1 sort Lorg/apache/lucene/search/Sort;
2 4 2 sortField Lorg/apache/lucene/search/SortField;
MethodParameters:
Name Flags
sort
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "writer="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.index.IndexWriterConfig.writer:Lorg/apache/lucene/util/SetOnce;
invokevirtual org.apache.lucene.util.SetOnce.get:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/IndexWriterConfig;
1 3 1 sb Ljava/lang/StringBuilder;
public org.apache.lucene.index.IndexWriterConfig setCheckPendingFlushUpdate(boolean);
descriptor: (Z)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial org.apache.lucene.index.LiveIndexWriterConfig.setCheckPendingFlushUpdate:(Z)Lorg/apache/lucene/index/LiveIndexWriterConfig;
checkcast org.apache.lucene.index.IndexWriterConfig
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 1 1 checkPendingFlushOnUpdate Z
MethodParameters:
Name Flags
checkPendingFlushOnUpdate
public org.apache.lucene.index.IndexWriterConfig setSoftDeletesField(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/index/IndexWriterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.index.IndexWriterConfig.softDeletesField:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/IndexWriterConfig;
0 2 1 softDeletesField Ljava/lang/String;
MethodParameters:
Name Flags
softDeletesField
public org.apache.lucene.index.LiveIndexWriterConfig setMergedSegmentWarmer(org.apache.lucene.index.IndexWriter$IndexReaderWarmer);
descriptor: (Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;)Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.lucene.index.IndexWriterConfig.setMergedSegmentWarmer:(Lorg/apache/lucene/index/IndexWriter$IndexReaderWarmer;)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.lucene.index.LiveIndexWriterConfig setMaxBufferedDocs(int);
descriptor: (I)Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.apache.lucene.index.IndexWriterConfig.setMaxBufferedDocs:(I)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.lucene.index.LiveIndexWriterConfig setRAMBufferSizeMB(double);
descriptor: (D)Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
dload 1
invokevirtual org.apache.lucene.index.IndexWriterConfig.setRAMBufferSizeMB:(D)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.lucene.index.LiveIndexWriterConfig setMergePolicy(org.apache.lucene.index.MergePolicy);
descriptor: (Lorg/apache/lucene/index/MergePolicy;)Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.lucene.index.IndexWriterConfig.setMergePolicy:(Lorg/apache/lucene/index/MergePolicy;)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.lucene.index.LiveIndexWriterConfig setCheckPendingFlushUpdate(boolean);
descriptor: (Z)Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.apache.lucene.index.IndexWriterConfig.setCheckPendingFlushUpdate:(Z)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.lucene.index.LiveIndexWriterConfig setUseCompoundFile(boolean);
descriptor: (Z)Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.apache.lucene.index.IndexWriterConfig.setUseCompoundFile:(Z)Lorg/apache/lucene/index/IndexWriterConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "IndexWriterConfig.java"
NestMembers:
org.apache.lucene.index.IndexWriterConfig$OpenMode
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract IndexReaderWarmer = org.apache.lucene.index.IndexWriter$IndexReaderWarmer of org.apache.lucene.index.IndexWriter
public final OpenMode = org.apache.lucene.index.IndexWriterConfig$OpenMode of org.apache.lucene.index.IndexWriterConfig