public void applySetting(IndexWriterConfig writerConfig, int value) { writerConfig.setTermIndexInterval(value); }