2021-07-01 21:19:52 +02:00
|
|
|
package it.cavallium.dbengine.client;
|
|
|
|
|
|
|
|
import io.soabase.recordbuilder.core.RecordBuilder;
|
|
|
|
import java.time.Duration;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Optional;
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
|
|
|
|
@RecordBuilder
|
|
|
|
public record LuceneOptions(Map<String, String> extraFlags,
|
|
|
|
Duration queryRefreshDebounceTime,
|
|
|
|
Duration commitDebounceTime,
|
|
|
|
boolean lowMemory,
|
|
|
|
boolean inMemory,
|
|
|
|
Optional<DirectIOOptions> directIOOptions,
|
|
|
|
boolean allowMemoryMapping,
|
2021-07-06 14:33:47 +02:00
|
|
|
Optional<NRTCachingOptions> nrtCachingOptions,
|
|
|
|
int indexWriterBufferSize,
|
|
|
|
boolean applyAllDeletes,
|
2021-12-12 16:41:49 +01:00
|
|
|
boolean writeAllDeletes,
|
2021-12-12 23:40:30 +01:00
|
|
|
boolean allowNonVolatileCollection,
|
|
|
|
int maxInMemoryResultEntries) {}
|